Skip to content

Commit

Permalink
interfaces: resolve proper interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Sep 10, 2018
1 parent 0221d74 commit 5811fe5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etc/inc/system.inc
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ function system_host_route($host, $gateway, $delete = true, $add = true)

function system_default_route($gateway, $family, $interface, $far = false)
{
$realif = get_real_interface($interface);
$realif = get_real_interface($interface, $family == 'inet' ? 'all' : 'inet6');

switch ($family) {
case 'inet':
Expand Down

0 comments on commit 5811fe5

Please sign in to comment.