PERFORCE change 66278 for review
Sam Leffler
sam at FreeBSD.org
Thu Dec 2 13:27:47 PST 2004
http://perforce.freebsd.org/chv.cgi?CH=66278
Change 66278 by sam at sam_ebb on 2004/12/02 21:27:37
use selective arp cache flushing logic from dhclient-script
Affected files ...
.. //depot/projects/wifi/etc/pccard_ether#3 edit
Differences ...
==== //depot/projects/wifi/etc/pccard_ether#3 (text+ko) ====
@@ -177,8 +177,8 @@
#
# Remove the network interface and cleanup ARP table
- # XXX no way to limit arp flush to one interface
#
ifconfig ${interface} delete down
- arp -d -a
+ arp -an ${interface} | \
+ sed -n -e 's/^.*(\(.*\)) at .*$/arp -d \1/p' | sh
esac
More information about the p4-projects
mailing list