diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | plugins/mmanon/mmanon.c | 2 |
2 files changed, 5 insertions, 1 deletions
@@ -1,5 +1,9 @@ --------------------------------------------------------------------------- Version 7.4.5 [v7.4-stable] 2013-09-?? +- mmanon: added "]" to set of acceptable chars after an IPv4 address + This is used in Exim and Postfix ... and probably a bunch of other tools + closes: http://bugzilla.adiscon.com/show_bug.cgi?id=477 + Thanks to Muri Cicanor for requesting the addition - bugfix: omprog blocked signals to executed programs The made it impossible to send signals to programs executed via omprog. diff --git a/plugins/mmanon/mmanon.c b/plugins/mmanon/mmanon.c index a1c99d09..5a1aa7ad 100644 --- a/plugins/mmanon/mmanon.c +++ b/plugins/mmanon/mmanon.c @@ -307,7 +307,7 @@ anonip(instanceData *pData, uchar *msg, int *pLenMsg, int *idx) ++i; ipstart[3] = i; octet = getnum(msg, lenMsg, &i); - if(octet > 255 || !(msg[i] == ' ' || msg[i] == ':')) goto done; + if(octet > 255 || !(msg[i] == ' ' || msg[i] == ':' || msg[i] == ']')) goto done; ipv4addr |= octet; /* OK, we now found an ip address */ |