Bug 11533 - Web interface routing.cgi, cannot add a second route
Summary: Web interface routing.cgi, cannot add a second route
Status: CLOSED DUPLICATE of bug 11466
Alias: None
Product: IPFire
Classification: Unclassified
Component: --- (show other bugs)
Version: 2
Hardware: unspecified Unspecified
: - Unknown - Major Usability
Assignee: Alexander Marx
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-31 12:11 UTC by Marcel Lorenz
Modified: 2017-11-25 19:26 UTC (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***