Revert "interfaces: follow upstream commit"

This reverts commit 60b1397c246b5cb41dcd001d793261412a6d92d0.
This commit is contained in:
Franco Fichtner 2023-11-22 08:43:43 +01:00
parent 60b1397c24
commit 56d2ea6ce5

View File

@ -184,12 +184,13 @@ $LOGGER "Reason $reason on $interface executing"
case $reason in
MEDIUM)
eval "$IFCONFIG $interface $medium"
eval "$IFCONFIG $interface inet -alias 0.0.0.0 $medium" >/dev/null 2>&1
sleep 1
;;
PREINIT)
delete_old_alias
eval "$IFCONFIG $interface up"
$IFCONFIG $interface inet alias 0.0.0.0 netmask 255.0.0.0 broadcast 255.255.255.255 up
/usr/local/sbin/ifctl -i ${interface} -4rd
;;