aboutsummaryrefslogtreecommitdiff
path: root/games/quake2lnx/files
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-04-08 04:15:47 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-04-08 04:15:47 +0000
commitb706d52882edfab5c094f61fb2942fb6cb7137b3 (patch)
tree0a24670305cdf30fd198e0464ac3cf0ae8c8e809 /games/quake2lnx/files
parentf1ff3aaa3f63803a2627d2d7849c58e37c5f31a9 (diff)
downloadports-b706d52882edfab5c094f61fb2942fb6cb7137b3.tar.gz
ports-b706d52882edfab5c094f61fb2942fb6cb7137b3.zip
Notes
Diffstat (limited to 'games/quake2lnx/files')
-rw-r--r--games/quake2lnx/files/patch-security13
1 files changed, 0 insertions, 13 deletions
diff --git a/games/quake2lnx/files/patch-security b/games/quake2lnx/files/patch-security
index 89934359d270..900217da8bde 100644
--- a/games/quake2lnx/files/patch-security
+++ b/games/quake2lnx/files/patch-security
@@ -115,19 +115,6 @@ diff -u -r1.2 sv_main.c
// force the IP key/value pair so the game can filter based on ip
Info_SetValueForKey (userinfo, "ip", NET_AdrToString(net_from));
-@@ -317,8 +318,11 @@
- {
- if (NET_CompareBaseAdr (net_from, svs.challenges[i].adr))
- {
-- if (challenge == svs.challenges[i].challenge)
-+ // sku - ignore zero challenges
-+ if( svs.challenges[i].challenge && challenge == svs.challenges[i].challenge ) {
-+ svs.challenges[i].challenge = 0;
- break; // good
-+ }
- Netchan_OutOfBandPrint (NS_SERVER, adr, "print\nBad challenge.\n");
- return;
- }
@@ -342,6 +346,11 @@
&& ( cl->netchan.qport == qport
|| adr.port == cl->netchan.remote_address.port ) )