gateways widget: Incorrect monitoring of v6 over v4 tunnels
#6 Updated by Jim Pingle about 5 years ago
Looks like this GIF (and also GRE) case could be fixed by some better testing in source:src/etc/inc/interfaces.inc#L5573 and source:src/etc/inc/interfaces.inc#L5605 (interface_has_gateway() and interface_has_gatewayv6()). In the case of gif/gre it should check the interface address to make sure the interface has an address of the desired type. That should be a safe test since it is statically configured in the gif settings, unlike the other types that can change.
#7 Updated by Jim Pingle about 5 years ago
Here is a quick fix that works to eliminate the bum entry on GIF/GRE: https://gist.github.com/jim-p/a1b92a97e4a9ee7e30fb