Regression #11475 » 169.diff
| etc/inc/captiveportal.inc | ||
|---|---|---|
|
}
|
||
|
}
|
||
|
$route = route_get($cliip);
|
||
|
$route = route_get($cliip, 'inet', true);
|
||
|
if (empty($route)) {
|
||
|
return false;
|
||
|
}
|
||
| etc/inc/util.inc | ||
|---|---|---|
|
}
|
||
|
} else {
|
||
|
$gateway = exec("/sbin/route -n{$inet} get {$target} | /usr/bin/awk '/gateway:/{print $2}'");
|
||
|
if (!$gateway) {
|
||
|
// non-local gateway
|
||
|
$gateway = get_interface_mac($interface);
|
||
|
}
|
||
|
}
|
||
|
$result[] = array('gateway' => $gateway, 'interface-name' => $interface);
|
||
|
} else {
|
||
| ... | ... | |
|
return false;
|
||
|
}
|
||
|
$route = route_get($target, $ipprotocol);
|
||
|
$route = route_get($target, $ipprotocol, true);
|
||
|
if (empty($route)) {
|
||
|
return;
|
||
| usr/local/www/system_routes_edit.php | ||
|---|---|---|
|
if (is_ipaddrv6($dts)) {
|
||
|
$family = "-inet6";
|
||
|
}
|
||
|
$route = route_get($dts);
|
||
|
$route = route_get($dts, '', true);
|
||
|
if (!count($route)) {
|
||
|
continue;
|
||
|
}
|
||
- « Previous
- 1
- 2
- Next »