summaryrefslogtreecommitdiff
path: root/sys/net/if_bridge.c
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2001-08-21 15:18:21 +0000
committerJason Wright <jason@cvs.openbsd.org>2001-08-21 15:18:21 +0000
commita47c37067ba4779f4572fa3aeaabed3db8038b56 (patch)
treedbaa40ccb94e7c688bd998476d0dc830ce8e8aa3 /sys/net/if_bridge.c
parent2ad2b7129f2b1cbde304cc0e7bfec42044b52325 (diff)
cut/pasto in rule flushing code (using wrong list); base on patch from Henk van Lingen <henk@vanlingen.net>
Diffstat (limited to 'sys/net/if_bridge.c')
-rw-r--r--sys/net/if_bridge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_bridge.c b/sys/net/if_bridge.c
index ce1f7a5e8e5..2a4479d60a5 100644
--- a/sys/net/if_bridge.c
+++ b/sys/net/if_bridge.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_bridge.c,v 1.75 2001/08/12 00:09:29 mickey Exp $ */
+/* $OpenBSD: if_bridge.c,v 1.76 2001/08/21 15:18:20 jason Exp $ */
/*
* Copyright (c) 1999, 2000 Jason L. Wright (jason@thought.net)
@@ -1905,7 +1905,7 @@ bridge_flushrule(bif)
}
while (!SIMPLEQ_EMPTY(&bif->bif_brlout)) {
p = SIMPLEQ_FIRST(&bif->bif_brlout);
- SIMPLEQ_REMOVE_HEAD(&bif->bif_brlin, p, brl_next);
+ SIMPLEQ_REMOVE_HEAD(&bif->bif_brlout, p, brl_next);
free(p, M_DEVBUF);
}
return (0);