Skip to content

Commit cb65ca8

Browse files
committed
Revert changes to net_addr struct format.
Revert changes that were made to net_addr struct format in commit 220fa18. The net_addr struct is now the same as it was in retail.
1 parent 1adb64e commit cb65ca8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

code/network/psnet2.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@
3737

3838
typedef struct net_addr {
3939
uint type; // See NET_ defines above
40-
ubyte addr[4]; // address
40+
ubyte net_id[4]; // was used for IPX, now unused
41+
ubyte addr[6]; // address - IP only uses 4, is 6 because of retail IPX support
4142
short port;
4243
} net_addr;
4344

0 commit comments

Comments
 (0)