Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 365184 Details for
Bug 494098
net-misc/igmpproxy-0.1 - allow using 0.0.0.0/0 subnet in a config as an altnet parameter
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
altnet-zero.patch
altnet-zero.patch (text/plain), 783 bytes, created by
MageSlayer
on 2013-12-12 21:13:37 UTC
(
hide
)
Description:
altnet-zero.patch
Filename:
MIME Type:
Creator:
MageSlayer
Created:
2013-12-12 21:13:37 UTC
Size:
783 bytes
patch
obsolete
>--- src/config.c.orig 2009-10-05 22:19:26.000000000 +0400 >+++ src/config.c 2013-10-31 01:58:14.400152448 +0400 >@@ -336,15 +336,16 @@ > tmpStr = strtok(NULL, "/"); > if(tmpStr != NULL) { > int bitcnt = atoi(tmpStr); >- if(bitcnt <= 0 || bitcnt > 32) { >+ if(bitcnt < 0 || bitcnt > 32) { > my_log(LOG_WARNING, 0, "The bits part of the address is invalid : %d.",tmpStr); > return NULL; > } > >- mask <<= (32 - bitcnt); >+ if ( bitcnt > 0 ) { mask <<= (32 - bitcnt); } else mask = 0 ; > } > >- if(addr == -1 || addr == 0) { >+// if(addr == -1 || addr == 0) { >+ if(addr == -1) { > my_log(LOG_WARNING, 0, "Unable to parse address token '%s'.", addrstr); > return NULL; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 494098
:
365182
| 365184 |
367920