Skip to content

Commit

Permalink
interface/link-up event, change unassigned to a valid (unassigned) ip…
Browse files Browse the repository at this point in the history
… address

(cherry picked from commit 267a086)
(cherry picked from commit 5c3c18d)
  • Loading branch information
AdSchellevis authored and fichtner committed Mar 14, 2018
1 parent 7302f9f commit d94ed6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/etc/rc.linkup
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ function handle_argument_group($iface, $argument2)

if (isset($config['interfaces'][$iface])) {
// set defaults
$ipaddr = null ;
$ip6addr = null;
$ipaddr = '0.0.0.0';
$ip6addr = '::';
if (isset($config['interfaces'][$iface]['ipaddr'])) {
$ipaddr = $config['interfaces'][$iface]['ipaddr'];
}
Expand Down

0 comments on commit d94ed6d

Please sign in to comment.