Skip to content

Commit

Permalink
engine: add IPv6 master server
Browse files Browse the repository at this point in the history
  • Loading branch information
a1batross committed Jul 7, 2024
1 parent 2a00608 commit 159467a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion engine/common/masterlist.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,8 @@ void NET_InitMasters( void )

// keep main master always there
NET_AddMaster( MASTERSERVER_ADR, false );
NET_AddMaster( MASTERSERVER_ADR_TEST, false );
NET_AddMaster( "aaaa.mentality.rip:27010", false ); // IPv6-only
NET_AddMaster( "mentality.rip:27011", false );

NET_LoadMasters( );
}
1 change: 0 additions & 1 deletion engine/common/netchan.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ GNU General Public License for more details.
#define NET_MAX_MESSAGE PAD_NUMBER(( NET_MAX_PAYLOAD + HEADER_BYTES ), 16 )

#define MASTERSERVER_ADR "mentality.rip:27010"
#define MASTERSERVER_ADR_TEST "mentality.rip:27011"
#define MS_SCAN_REQUEST "1\xFF" "0.0.0.0:0\0"

#define PORT_MASTER 27010
Expand Down

0 comments on commit 159467a

Please sign in to comment.