diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-03 21:48:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-01-03 21:48:22 +0000 |
commit | 0d9ba8b008e70f9ee63a9bf5d1951147f95472c0 (patch) | |
tree | 68a123b10ecf87d533a4e4efc075d2b356acbf29 /sbin/pfctl | |
parent | 374f06bea0e92ebcfcacd14e756f4f236a9f6697 (diff) |
KNF
Diffstat (limited to 'sbin/pfctl')
-rw-r--r-- | sbin/pfctl/pfctl_altq.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c index 0c14059bdb9..0415154ea96 100644 --- a/sbin/pfctl/pfctl_altq.c +++ b/sbin/pfctl/pfctl_altq.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_altq.c,v 1.27 2002/12/24 13:29:13 mcbride Exp $ */ +/* $OpenBSD: pfctl_altq.c,v 1.28 2003/01/03 21:48:21 deraadt Exp $ */ /* * Copyright (C) 2002 @@ -1052,8 +1052,8 @@ pfctl_find_altq_node(struct pf_altq_node *root, const char *qname, struct pf_altq_node *node, *child; for (node = root; node != NULL; node = node->next) { - if (!strcmp(node->altq.qname, qname) - && !(strcmp(node->altq.ifname, ifname))) + if (!strcmp(node->altq.qname, qname) && + !(strcmp(node->altq.ifname, ifname))) return (node); if (node->children != NULL) { child = pfctl_find_altq_node(node->children, qname, |