mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 17:44:41 +00:00
Revert "interfaces: remove arp flush from dhclient-script #3197"
This reverts commit a1dbbb5ef132487c88b2b144ac67eeedb00a576c.
This commit is contained in:
parent
621f84e900
commit
8e9ae38fdc
@ -19,6 +19,7 @@
|
||||
#
|
||||
#
|
||||
|
||||
ARP=/usr/sbin/arp
|
||||
HOSTNAME=/bin/hostname
|
||||
IFCONFIG='/sbin/ifconfig -n'
|
||||
|
||||
@ -385,6 +386,9 @@ EXPIRE|FAIL)
|
||||
delete_old_address
|
||||
delete_old_routes
|
||||
fi
|
||||
if [ -x $ARP ]; then
|
||||
$ARP -d -a -i $interface
|
||||
fi
|
||||
# XXX Why add alias we just deleted above?
|
||||
add_new_alias
|
||||
if is_default_interface; then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user