Skip to content

Commit

Permalink
interfaces: follow upstream commit
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Nov 22, 2023
1 parent 0127f1d commit 60b1397
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/opnsense/scripts/interfaces/dhclient-script
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,12 @@ $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
$IFCONFIG $interface inet alias 0.0.0.0 netmask 255.0.0.0 broadcast 255.255.255.255 up
eval "$IFCONFIG $interface up"
/usr/local/sbin/ifctl -i ${interface} -4rd
;;

Expand Down

0 comments on commit 60b1397

Please sign in to comment.