Commit d5fef766 authored by venaas's avatar venaas Committed by venaas
Browse files

fixed portnumber parsing bug

git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@57 e88ac4ed-0b26-0410-9574-a7f39faa03bf
parent 2fbafcd7
......@@ -1569,7 +1569,7 @@ char *parsehostport(char *s, struct peer *peer) {
}
if (*p == ':') {
/* port number or service name is specified */;
field = p++;
field = ++p;
for (; *p && *p != ' ' && *p != '\t' && *p != '\n'; p++);
if (field == p) {
printf("syntax error, : but no following port\n");
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment