summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
authorvenaas <venaas>2007-02-15 10:50:17 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2007-02-15 10:50:17 +0000
commitd5fef766258bec5659b56e82bf7281a792fc59f6 (patch)
tree20dbdb7c1f4a663478413ccb8cab606e672e4205 /radsecproxy.c
parent2fbafcd751d4af3f33f216302b4787452f7270f0 (diff)
fixed portnumber parsing bug
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@57 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index cbabf03..30b4227 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -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");