summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
Commit message (Collapse)AuthorAgeFilesLines
* Fix for redmine ticket #1993. Allow saving multiple dynamic entries.smos2011-11-271-12/+0
| | | | Make sure that return_gateways_status() also returns all gateways that have monitoring disabled as up.
* Simplify this code a bit, should be the same test in both locations since ↵jim-p2011-08-231-2/+3
| | | | this should be either/or, and with the other code it can apparently fall into a trap where it shows neither.
* Add an override for default interval to send icmpErmal2011-07-281-2/+12
|
* Add a new option to allow disabling of gateway monitoring. This gateways ↵Ermal2011-07-281-2/+16
| | | | will always be reported as up.
* fix textChris Buechler2010-12-251-1/+1
|
* When adding/editing a gateway, check IP alias subnets, too. Fixes #1015Erik Fonnesbeck2010-11-221-1/+1
|
* Bring in XSS id fixes from m0n0wallScott Ullrich2010-11-121-1/+1
|
* Simplify this code so it's obvious what we're really testing for.gnhb2010-10-061-4/+3
| | | | Should be no functional change here.
* Fix intended behaviour when the default gateway changes interface.Ermal2010-10-021-5/+5
|
* This breaks the code because the ASSUMPTION is to reload the gateway ↵Ermal2010-10-021-7/+4
| | | | | | | | | | interface that was a defaultgw previously and not the interface that just became defaultgw. Mostly for dynamic connections like dhcp/ppp* Pointy-hat: gnhb Revert "Update code to actually accomplish the intended behavior of NOT reloading the interface" This reverts commit 318baca5f6658f52c0b895fdb8f42bc276e26a6d.
* Update code to actually accomplish the intended behavior of NOT reloading ↵gnhb2010-10-021-4/+7
| | | | | | the interface if not necessary when a GW record is saved.
* Do not allow a gateway to be renamed. Possibly a better solution is to ↵Ermal2010-10-011-0/+2
| | | | rename the gateway in all pointed places!
* Handle the cases to not save data on config better.Ermal2010-10-011-3/+7
|
* Make sure we do not overwrite the gateway stored in config with a dynamic ↵Ermal2010-10-011-4/+5
| | | | gateway info. Correct POST var name(Found by ghnb). Also correctly reload only the defaultgw interface changed only if it is different than the present one.
* Fix the problem of not saving data when most of the information is not being ↵Ermal2010-10-011-77/+66
| | | | posted. Also do not disable any field anymore to allow people to choose static gateways for dynamic interfaces. Also do not save any information when the user Clicks save but has not posted any information not known already. Do not prevent to post a dynamic value for gateway on an interface that is configured with static ip.
* We don't store monitor ip in the <interfaces> config any more.gnhb2010-10-011-8/+0
| | | | Requested by cbuechler in ticket #919.
* When a dynamic interface is up, we still need to report that it's "dynamic" ↵gnhb2010-10-011-1/+4
| | | | | | | | to this GUI in system_gateways_edit.php. If user edits a dynamic gateway that is up, the gateway IP address (reported by return_gateways_array) will end up in the "Gateway" field, and then the gateway will get saved as a static gateway unless user manually changes field to "dynamic" again.
* Revert previous change to enter a hidden value when interface is disabled. ↵Ermal2010-09-301-9/+6
| | | | GHNB broke this on revision 58611e3a1da07a33c6cf65401ad3edf278190e75 and it does not make sense.
* Remove forgotten code.Ermal2010-09-301-2/+0
|
* Initialize variable properly. Handle the case when the interfaces select box ↵Ermal2010-09-301-5/+10
| | | | is disabled and it will not be posted(Reported-by: ghnb
* Fixes #919 by properly saving <gateway> field as "dynamic"gnhb2010-09-231-2/+5
| | | | `
* Oops bring back this code too.Ermal2010-09-161-1/+4
|
* Actually this part should not have been committed at all.Ermal2010-09-161-3/+6
|
* Fix gettext! Needed here?!Ermal2010-09-161-1/+1
|
* Bring code up to speed with latest world.Ermal2010-09-161-30/+16
|
* Cleanup code.Ermal2010-09-151-9/+5
|
* Correct my email address, adjust copyright to 2010smos2010-07-241-1/+1
|
* fix gettextChris Buechler2010-06-271-1/+1
|
* Correctly check when to actually save dynamic gateways or not.Ermal2010-06-071-1/+5
|
* Ensure that monitor IP stays blank when editing a system dynamic gateway.jim-p2010-06-021-2/+2
|
* Default to "dynamic" for a dynamic gateway.jim-p2010-06-021-1/+1
|
* Add status links to gateway/route pages.jim-p2010-06-021-0/+2
|
* Move the settings of down/latency/loss to per gateway. This allows more fine ↵Ermal2010-05-071-12/+117
| | | | grained control on gateways.
* Adding missing gettext() callsVinicius Coque2010-05-031-2/+2
|
* Merge remote branch 'mainline/master'Vinicius Coque2010-05-031-3/+26
|\ | | | | | | | | | | | | Conflicts: usr/local/www/system_gateway_groups.php usr/local/www/system_gateway_groups_edit.php usr/local/www/system_gateways_edit.php
| * Save gateway data when weight changes on dynamic gateways.Ermal2010-04-301-1/+1
| |
| * Add gateways validation code before deleteing. This prevents footshooting ↵Ermal2010-04-301-1/+1
| | | | | | | | especially with Gateway Groups.
| * Ticket #506. Correctly save dynamic gateways extra parameters.Ermal2010-04-301-2/+7
| |
| * Allow for each gateway a weight to be choosen if the gateway has to be used ↵Ermal2010-04-301-0/+18
| | | | | | | | in Gateway groups. This will create that many entries in the route-to statement as the weight says.
* | Adding gettext() callVinicius Coque2010-04-301-1/+1
| |
* | Adding gettext() callsVinicius Coque2010-04-301-1/+1
| |
* | Fix gettext issuesCarlos Eduardo Ramos2010-04-301-1/+1
| |
* | Fix gettext issuesRenato Botelho2010-04-291-8/+7
| |
* | Reviewing gettext() implementationVinicius Coque2010-04-281-2/+2
| |
* | Implement gettext()Carlos Eduardo Ramos2010-04-281-26/+26
|/
* Ticket #517. Fix saving of monitorip in dynamic interface cases.Ermal2010-04-271-2/+2
|
* Correctly configure the default route addition when interfaces are ↵Ermal Luçi2010-03-091-1/+4
| | | | configured for pppoe/pptp. Handle in system routing configure dynamic interfaces. Also when chaning or configuring the defaultgw reconfigure the underlying interface, this helps when this interfaces are dynamics one.
* Correct typo in function nameSeth Mos2010-03-011-1/+1
|
* Mute route delete message, regenerate resolv.conf as this also corrects ↵Seth Mos2010-03-011-1/+1
| | | | static routes to the DNS servers.
* Ticket #303. Correctly retain the interface in case or validation errors.Ermal Luçi2010-02-091-1/+4
|
OpenPOWER on IntegriCloud