Commit Graph

10 Commits

Author SHA1 Message Date
Alexander Marx
51141b150d BUG11466: fix routing.cgi the function call in routing.cgi was fixed to call the new "exact" function.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2017-11-07 16:20:29 +00:00
Alexander Marx
1e656e8adc BUG10993: fix errormessage when editing static routes
When editing existing static routes and clicking on apply button, there
was an errormessage saying that this route is already in use.
Now the errormessage is only displayed if a new route has the same ip
than an existing one.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-12-10 16:37:22 +00:00
Michael Tremer
1574f25557 routing.cgi: Fix syntax error that caused an Internal Server Error
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-11-25 12:47:29 +00:00
Alexander Marx
6be114f03a BUG10941: fix single ip-addresses when no subnet given
Some functions when adding a new route where senseless.
Now the ip address is checked and in case of a missing / wrong
subnetmask an errormessage is raised. The ip address is preserved.
ELSE
we convert the subnetmask to cidr notation and calculate the network ip
correctly.

Signed-off-by: Alexander Marx <alexander.marx@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
2015-10-18 19:19:51 +01:00
Alexander Marx
29f238b239 BUG 10538: Routes may only added once and should not be part of an internal network 2014-06-16 09:45:59 +02:00
Alexander Marx
b84989af49 Layout changes routing.cgi 2014-01-09 14:53:45 +01:00
Alexander Marx
623758aa65 fifteen-theme: made routing.cgi table themeable 2014-01-07 11:04:26 +01:00
Michael Tremer
860ad8cb15 routing.cgi: Fix error in regex that validates "0.0.0.0".
Fixes #10417.
2013-09-27 16:51:17 +02:00
Michael Tremer
ff1ed674e0 routing.cgi: Allow adding static routes with subnet masks.
It was not possible to enter networks in the subnet mask notation,
which is fixed by this patch.

Fixes #10219.
2012-12-11 12:16:54 +01:00
Christian Schmidt
a5b0d8bf9e Added new routing cgi. 2011-07-06 19:29:36 +02:00