diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2005-10-13 13:27:07 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2005-10-13 13:27:07 +0000 |
commit | dd36fd6cfbb90b7c59b8babdc8facd9beac1a6ad (patch) | |
tree | 5d99f195da8400d192141643980ff0650b4b51f2 /sbin/pfctl/pfctl_parser.c | |
parent | 18172bbea7adb4a87b92e5ad6b184b0a846df431 (diff) |
unused parameters
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r-- | sbin/pfctl/pfctl_parser.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c index 16c6e08654e..9d20236d799 100644 --- a/sbin/pfctl/pfctl_parser.c +++ b/sbin/pfctl/pfctl_parser.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_parser.c,v 1.219 2005/06/30 20:52:20 sturm Exp $ */ +/* $OpenBSD: pfctl_parser.c,v 1.220 2005/10/13 13:27:06 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -1162,7 +1162,7 @@ ifa_load(void) } struct node_host * -ifa_exists(const char *ifa_name, int group_ok) +ifa_exists(const char *ifa_name) { struct node_host *n; @@ -1361,7 +1361,7 @@ host_if(const char *s, int mask) free(ps); return (NULL); } - if (ifa_exists(ps, 1) || !strncmp(ps, "self", IFNAMSIZ)) { + if (ifa_exists(ps) || !strncmp(ps, "self", IFNAMSIZ)) { /* interface with this name exists */ h = ifa_lookup(ps, flags); for (n = h; n != NULL && mask > -1; n = n->next) |