X-Git-Url: https://git.distorted.org.uk/~mdw/yaid/blobdiff_plain/2c517be03a1350f24bbff7b23903ebca4e4d05d6..dd5e35da5f74e9ed3bbfb639c2bab927a12c634f:/linux.c diff --git a/linux.c b/linux.c index 571b179..8ed0396 100644 --- a/linux.c +++ b/linux.c @@ -313,7 +313,8 @@ void identify(struct query *q) * field (but do check the port number). */ if (q->ao->sys->parseaddr(&p, &s[i].addr)) goto next_row; - if (*p != ':') break; p++; + if (*p != ':') break; + p++; s[i].port = strtoul(p, 0, 16); if ((i == R && gwp) ? q->s[R].port != s[i].port :