mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-20 03:16:12 +00:00
system: annotate problematic code
See: https://forum.opnsense.org/index.php?topic=26296.0
This commit is contained in:
parent
61720fe233
commit
600dc95b58
@ -192,9 +192,11 @@ function dpinger_configure_do($verbose = false, $gwname = null)
|
||||
* then the ICMP6 response would not find its way back home.
|
||||
*/
|
||||
if (is_linklocal($gateway['monitor']) && strpos($gateway['monitor'], '%') === false) {
|
||||
/* XXX 'if' can be wrong for IPv6 */
|
||||
$gateway['monitor'] .= "%{$gateway['if']}";
|
||||
}
|
||||
if (is_linklocal($gateway['gateway']) && strpos($gateway['gateway'], '%') === false) {
|
||||
/* XXX 'if' can be wrong for IPv6 */
|
||||
$gateway['gateway'] .= "%{$gateway['if']}";
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user