diff --git a/src/sbbs3/userdat.h b/src/sbbs3/userdat.h
index 846afda9ed9e66b374ac7090fef25d9a7ea6c7d6..d5d7494725d2107a74d724aae379a6b0400b1366 100644
--- a/src/sbbs3/userdat.h
+++ b/src/sbbs3/userdat.h
@@ -135,7 +135,7 @@ DLLEXPORT BOOL	DLLCALL check_name(scfg_t* cfg, const char* name);
 
 /* Login attempt/hack tracking */
 typedef struct {
-	struct in6_addr addr;	/* host with consecutive failed login attmepts */
+	union xp_sockaddr addr;	/* host with consecutive failed login attmepts */
 	sa_family_t	family;
 	ulong		count;	/* number of consecutive failed login attempts */
 	ulong		dupes;	/* number of consecutive dupliate login attempts (same name and password) */