Project

General

Profile

Bug #8846

Misleading gateway error message adding/editing static routes using a disabled interface

Added by Mario Harjac about 1 year ago. Updated 25 days ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Gateways
Target version:
-
Start date:
08/28/2018
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

I was adding static route on disabled interface and got the following message:
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

History

#1 Updated by Jim Pingle about 1 month ago

  • Category set to Gateways

#2 Updated by Jim Pingle 25 days ago

  • Subject changed from Static routes - misleading error message to Misleading gateway error message adding/editing static routes using a disabled interface

Also available in: Atom PDF