Bug 11533

Summary: Web interface routing.cgi, cannot add a second route
Product: IPFire Reporter: Marcel Lorenz <mlorenz>
Component: ---Assignee: Alexander Marx <alexander.marx>
Status: CLOSED DUPLICATE QA Contact:
Severity: Major Usability    
Priority: - Unknown - CC: horace.michael, michael.tremer, robert
Version: 2   
Hardware: unspecified   
OS: Unspecified   

Description Marcel Lorenz 2017-10-31 12:11:12 UTC
In the web interface, i cannot add a second route. The screen leaves blank.
I dig a little bit in this. The cgi call a function in /var/ipfire/general-functions.pl named "check_net_internal". These not exist. I change the line 157 in the routing.cg from:

"$errormessage .= &General::check_net_internal($settings{'IP'});"
to:
"$errormessage .= &General::check_net_internal_range($settings{'IP'});"

and it will work again.

Greetings,
Marcel Lorenz
Comment 1 Rob Peterson 2017-11-04 17:43:51 UTC
This worked for me. Thank you
Comment 2 Michael Tremer 2017-11-06 19:21:35 UTC
This solution is insufficient since the &Network::network_equals() function is not behaving correctly in all cases. This will fix some problems, but the bug is actually bigger than just calling the wrong function here.

*** This bug has been marked as a duplicate of bug 11466 ***