summaryrefslogtreecommitdiff
path: root/sbin/pfctl
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2002-09-22 15:30:16 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2002-09-22 15:30:16 +0000
commit41a0a0f690b08db2d7e4aef411a5e11800a96986 (patch)
treea26416bb97bdd5781414dc088dfe656f1996ed2b /sbin/pfctl
parent4cfb30953db408be4c815bbdacfc65c6b1dc27bd (diff)
little KNF: return(something) -> return (something)
Diffstat (limited to 'sbin/pfctl')
-rw-r--r--sbin/pfctl/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y
index 8ddd44290d9..fde971388dc 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.153 2002/09/22 15:28:53 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.154 2002/09/22 15:30:15 henning Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -2669,7 +2669,7 @@ ifa_exists(char *ifa_name)
for (n = iftab; n; n = n->next) {
if (n->af == AF_LINK && !strncmp(n->ifname, ifa_name, IFNAMSIZ))
- return(n);
+ return (n);
}
return (NULL);
}
@@ -2731,14 +2731,14 @@ ifa_pick_ip(struct node_host *nh, u_int8_t af)
if (af == 0 && nh && nh->next) {
yyerror("address family not given and translation address "
"expands to multiple IPs");
- return(NULL);
+ return (NULL);
}
for (h = nh; h; h = h->next) {
if (h->af == af || h->af == 0 || af == 0) {
if (n != NULL) {
yyerror("translation address expands to "
"multiple IPs of this address family");
- return(NULL);
+ return (NULL);
}
n = h;
}