Commit f2f13ff7 authored by Mike Hibler's avatar Mike Hibler

Flush dummynet pipes as well as ipfw rules

parent c3c50bc3
......@@ -211,6 +211,7 @@ sub DelaySetup
print DEL "sysctl -w net.link.ether.bridge.enable=1\n";
print DEL "sysctl -w net.link.ether.bridge.ipfw=1\n";
}
print DEL "ipfw -f pipe flush\n";
print DEL "ipfw -f flush\n";
#
......@@ -624,6 +625,7 @@ sub LinkDelaySetup
print DEL "# auto-generated by libsetup.pm, DO NOT EDIT\n";
# Main boot only.
if (!defined($vnodeid)) {
print DEL "ipfw -f pipe flush\n";
print DEL "ipfw -f flush\n";
}
print DEL "if [ x\$1 = x ]; then action=enable; else action=\$1; fi\n";
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment