summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-19 21:00:26 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-07-19 21:00:26 +0000
commitc342d666b3b8754377e618ff96693589167b280b (patch)
tree0f2377278e296afcc51acb20c43a28c7c0468f25 /sbin
parenta2335bc5ce71f23cdc42865b0d0fac30d8b7ad59 (diff)
minor tweaks, sigh
Diffstat (limited to 'sbin')
-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 86de99cf219..ec330a445c0 100644
--- a/sbin/pfctl/parse.y
+++ b/sbin/pfctl/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.126 2002/07/19 14:30:08 dhartmei Exp $ */
+/* $OpenBSD: parse.y,v 1.127 2002/07/19 21:00:25 deraadt Exp $ */
/*
* Copyright (c) 2001 Markus Friedl. All rights reserved.
@@ -133,7 +133,7 @@ int yyparse(void);
void ipmask(struct pf_addr *, u_int8_t);
void expand_rdr(struct pf_rdr *, struct node_if *, struct node_proto *,
struct node_host *, struct node_host *);
-void expand_nat(struct pf_nat *, struct node_if *, struct node_proto *,
+void expand_nat(struct pf_nat *, struct node_if *, struct node_proto *,
struct node_host *, struct node_port *,
struct node_host *, struct node_port *);
void expand_label_addr(const char *, char *, u_int8_t, struct node_host *);
@@ -2626,7 +2626,7 @@ ifa_load(void)
sizeof(struct in6_addr));
n->ifindex = ((struct sockaddr_in6 *)
ifa->ifa_addr)->sin6_scope_id;
- }
+ }
if ((n->ifname = strdup(ifa->ifa_name)) == NULL) {
yyerror("malloc failed");
exit(1);
@@ -2645,7 +2645,7 @@ ifa_exists(char *ifa_name)
if (iftab == NULL)
ifa_load();
-
+
for (n = iftab; n; n = n->next) {
if (n->af == AF_LINK && !strncmp(n->ifname, ifa_name, IFNAMSIZ))
return(1);