Scott Ullrich
a6d9251e13
Revert "Interface names should appear as uppercase"
...
This reverts commit e8ad860fb4 .
2010-11-29 15:34:20 -05:00
Scott Ullrich
dd5bf424c1
Fix XSS issues
2010-11-12 11:36:20 -05:00
Ermal
dd18038e50
* Call get_configured_interface_* functions only once in the code
...
* Optimize the test if the passed interface is a vaild one
* Fix the apply settings to actually do something rather than do nothing at all
* Some style and whitespace fixes
2010-11-10 21:42:46 +00:00
Scott Ullrich
157b9d46a2
Return disabled interfaces as well
2010-11-08 10:52:46 -05:00
Scott Ullrich
e8ad860fb4
Interface names should appear as uppercase
2010-11-06 14:03:23 -04:00
Scott Ullrich
9455610597
Define variable a bit earlier in case its shared
2010-11-06 14:01:57 -04:00
Scott Ullrich
d815d5faec
Use get_configured_interface_list() so Ermal does not yell at me :)
2010-11-06 14:00:11 -04:00
Scott Ullrich
6a93718873
Ensure passed interface is valid
2010-11-06 12:31:03 -04:00
jim-p
bd6f4dccdb
Correct this note, on at least one card (mxge) it defaults to an MTU of 9000, so we can't always say the default will be 1500.
2010-10-12 08:59:22 -04:00
gnhb
8920455d1e
Revert "Add missing break statement in input validation code."
...
This reverts commit 52bebb6f44 .
2010-09-05 14:32:49 +07:00
gnhb
52bebb6f44
Add missing break statement in input validation code.
2010-09-05 13:39:29 +07:00
Ermal
8fc0b2dcb8
Add missing break;
2010-09-03 17:28:11 +00:00
Ermal
62a4abc92c
Ticket #543 . Do not allow to change an interface already configured to a type none if it is referenced by VIPs and also do not allow VIPs to be configured on an interface with type none. Maybe the latest should be relaxed to only disallow this for ipaliases?!
2010-08-31 12:47:58 +00:00
Ermal
88c00a6569
Ticket #829 . Do not allow an interface to switch back to static/dhcp/none if it is configured as ppp/pppoe/pptp. for now just blacklist this option because it is not so trivial to fix.
2010-08-20 12:18:12 +00:00
Ermal
79851fc849
Small optimization.
2010-08-20 12:04:42 +00:00
Ermal
fe24301fcb
Gett full list of interfaces when verifying description.
2010-08-20 12:03:49 +00:00
Erik Fonnesbeck
7b8db0c3bb
Fix alignment of save and cancel buttons on interfaces.php.
2010-08-15 16:07:56 -06:00
Scott Ullrich
1600b1afee
Revert "Stick save and cancel back into the right hand of the first td cell like all other forms have it."
...
This reverts commit 787e94645b .
2010-08-15 17:42:52 -04:00
Chris Buechler
f1ca6b86de
should be #777 not *777
2010-08-13 12:58:47 -04:00
Erik Fonnesbeck
3b7f0f5367
Fix some printfs and some text.
2010-08-12 16:02:41 -06:00
Renato Botelho
c0948c6c12
Just fix some space and tab problems
2010-08-12 14:17:28 -03:00
Renato Botelho
e73b001e25
Merge remote branch 'mainline/master'
...
Conflicts:
usr/local/www/diag_smart.php
usr/local/www/firewall_rules_edit.php
usr/local/www/interfaces.php
usr/local/www/load_balancer_pool_edit.php
usr/local/www/pkg_mgr_settings.php
2010-08-12 12:55:32 -03:00
Renato Botelho
ee9933b6e2
Use <?php instead of the short form
2010-08-12 11:15:26 -03:00
Carlos Eduardo Ramos
933ea015a9
gettext() fixes on interfaces.php
2010-08-12 10:49:53 -03:00
Erik Fonnesbeck
4c807d76c6
Fix text
2010-08-11 18:46:48 -06:00
Scott Ullrich
787e94645b
Stick save and cancel back into the right hand of the first td cell like all other forms have it.
2010-08-11 20:36:11 -04:00
Erik Fonnesbeck
ea6be4a752
Remove extra quotes that were added around some strings when adding printf+gettext in some areas.
2010-08-11 18:21:07 -06:00
Scott Ullrich
ea62cd3270
No need to set enable
2010-08-11 16:21:57 -04:00
Scott Ullrich
c9e7d30d3e
Add 8021.x preauth (rsn_preauth)
2010-08-11 13:44:51 -04:00
Erik Fonnesbeck
537bf7b37d
Add gui code for antenna settings. Ticket #13
2010-08-05 04:15:15 -06:00
Erik Fonnesbeck
c4a10cd108
Fix printf that should be sprintf.
2010-08-05 03:38:54 -06:00
Erik Fonnesbeck
6681fdd3a3
Hide the distance setting for wireless interfaces that do not support it.
2010-08-04 20:35:39 -06:00
Ermal
4cea5cf8ab
Resolves #599 . Split mtu and mss fields in interfaces page so it is possible to set them differently.
2010-08-04 17:12:42 +00:00
Renato Botelho
4256d115c9
Merge remote branch 'mainline/master' into 3_interfaces
...
Conflicts:
usr/local/www/diag_nanobsd.php
usr/local/www/diag_packet_capture.php
usr/local/www/interfaces.php
2010-08-03 11:06:39 -03:00
Erik Fonnesbeck
8672329c8d
Hide the interface configuration when WAN or LAN are disabled, just like for OPT interfaces.
2010-08-02 02:53:12 -06:00
Erik Fonnesbeck
e7346f050c
The pipe character is not valid for the interface description, so don't consider it valid in the regular expression.
2010-08-02 00:58:10 -06:00
Erik Fonnesbeck
349e9ec1d0
Correct capitalization for PPTP and L2TP in a couple places.
2010-08-01 23:03:26 -06:00
Erik Fonnesbeck
ebf94efb5c
Sync wireless settings first to be sure it displays the actual settings that will be used when the interface is configured.
2010-07-28 16:18:44 -06:00
Erik Fonnesbeck
f62c44d8ed
Add a checkbox to make syncing shared wireless settings to a central area optional.
2010-07-28 15:23:29 -06:00
Erik Fonnesbeck
e4603932bc
Change wireless configuration heading to be more specific.
2010-07-28 15:23:26 -06:00
Renato Botelho
015c8b95d3
Merge remote branch 'mainline/master' into 3_interfaces
2010-07-12 09:48:37 -03:00
Erik Fonnesbeck
1fb064e86d
Separate regdomain.xml parsing back to a separate file, so it can be used when xmlreader.inc is used instead of xmlparse.inc
2010-07-10 21:36:54 -06:00
Carlos Eduardo Ramos
136c598df3
Checked gettext() implementation on interfaces.php
2010-07-08 23:15:30 -03:00
Vinicius Coque
42f634a074
Merge remote branch 'mainline/master'
2010-07-05 10:33:30 -03:00
jim-p
8b7ae9a371
Only unset if this is actually set. Ticket #710
2010-07-02 10:08:06 -04:00
groo
8cc6876f82
Implement gettext() calls on interfaces.php and interfaces_assign.php
2010-06-30 18:00:59 -03:00
gnhb
ced4df7428
Take out all code that assumes to use DHCP for local ip if local ip is left blank.
...
Also, check for blank local IPs and error out if they occur.
2010-06-10 22:54:17 +07:00
gnhb
237212858e
Fix some things in interfaces.inc, attempt to suppress mpd log verbosity.
...
Fix also localip handling in interfaces.php
2010-06-10 21:51:09 +07:00
gnhb
4a1ee8ac31
Clean up pptp a bit and modify text description in interfaces_ppps_edit
2010-06-10 01:39:49 +07:00
gnhb
1d7e1d6c2c
Fix up for new ptpid scheme and new iface naming scheme.
2010-06-09 22:51:59 +07:00