Actions
Bug #8846
openMisleading gateway error message adding/editing static routes using a disabled interface
Status:
New
Priority:
Low
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
08/28/2018
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:
Description
I was adding static route on disabled interface and got the following message:
As you can see from the message itself, network and gateway are in the same family. I've tracked that down to the skipping of disabled interfaces in return_gateways_array function.
Possible solutions:
The following input errors were detected: The gateway "10.66.0.99" is a different Address Family than network "10.66.10.0".
As you can see from the message itself, network and gateway are in the same family. I've tracked that down to the skipping of disabled interfaces in return_gateways_array function.
Possible solutions:
- change error message to something like: "The gateway "10.66.0.99" is a different Address Family than network "10.66.10.0" or interface disabled"
- remove skipping of disabled interfaces
- automatically disable gateways on disabled interfaces
Updated by Jim Pingle almost 3 years ago
- Subject changed from Static routes - misleading error message to Misleading gateway error message adding/editing static routes using a disabled interface
Actions