diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-02 20:00:15 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-02 20:00:15 +0000 |
commit | 1a7ce71a4aeaa59737d7a1f5ed943e5430838664 (patch) | |
tree | ff2f733cce931beb8ecd572c27de5cea294c22da /usr.sbin/bgpd | |
parent | 97d3bc17a77f84f39949facde64b9ce764d17fa6 (diff) |
KNF
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 2f99598fcf4..ee81599c6cb 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.68 2004/03/02 19:45:04 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.69 2004/03/02 20:00:14 henning Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -300,7 +300,7 @@ prefix : STRING '/' number { if (asprintf(&s, "%s/%u", $1, $3) == -1) fatal(NULL); - + if (!host(s, &$$.prefix, &$$.len)) { free(s); yyerror("could not parse address \"%s/%s\"", |