summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
Commit message (Collapse)AuthorAgeFilesLines
* Code spacingPhil Davis2015-06-151-14/+14
| | | | | | | and other random stuff I noticed. I think this finishes messing with code style. The codebase should match the developer style guide closely enough that 99.9% of changes will not feel the need to also massage the formatting.
* Return IP correctly in get_interface_ip for gateway groups specifying aChris Buechler2015-06-011-0/+4
| | | | VIP. Ticket #4661
* Code style bits and pieces from etcPhil Davis2015-05-311-32/+33
|
* Merge pull request #1590 from k-paulius/fix-4483v2Renato Botelho2015-05-301-11/+11
|\
| * Return link-local address when we are only requesting IPv6 prefix only if ↵k-paulius2015-03-291-11/+11
| | | | | | | | there is no global IPv6 address. In some cases global SLAAC IPv6 address might be present when using DHCPv6. Fixes #4483
* | Remove artifacts from latin1 to utf8 conversionsJose Luis Duran2015-05-161-1/+1
| | | | | | | | | | | | String replacement: s/Ermal L.../Ermal Luçi/g
* | Disable defering in pfsync which is used for active-active deployments not ↵Ermal LUÇI2015-05-151-0/+1
| | | | | | | | useble in FreeBSD. This should fix hangs reported on some machines wiht pfsync
* | Remove duplicate 'ppp' case in switch statementStuart Wyatt2015-04-201-3/+2
|/
* Remove wireless cards from ALTQ-capable interfaces, since ALTQ is broken on ↵Chris Buechler2015-03-281-4/+5
| | | | wlandev in FreeBSD 10.x at the moment. Ticket #4406
* Supress errors when opening custom DHCP config file and check if content was ↵k-paulius2015-03-231-3/+7
| | | | successfully retrieved. Prevents PHP from throwing error in case file does not exist.
* Log to syslog and get rid of useless variable.k-paulius2015-03-231-3/+2
|
* Remove old dhcp6c and rtsold config scripts when bringing down interface.k-paulius2015-03-191-0/+2
|
* Supress errors when opening custom DHCP6 config file and check if content ↵k-paulius2015-03-191-3/+8
| | | | | | was successfully retrieved. Prevents PHP from throwing error in case file does not exist.
* A mix of literal tabs, spaces and \t is used in dhcp6c config file code. ↵k-paulius2015-03-191-12/+11
| | | | Convert evertyhing to use \t.
* DHCP6 config file override, advanced and basic settings override each other ↵k-paulius2015-03-191-57/+57
| | | | | | so put them in single if/else statement rather than always generating all three setting types.
* Add option for wireless standard "auto", to omit "mode" entirely from ↵Chris Buechler2015-03-181-4/+10
| | | | ifconfig. This shouldn't be necessary, but specifying mode has proven to trigger driver problems that don't exist if it's left unspecified (such as FreeBSD PR 198680). Chosing "auto" fixes ath(4) BSS mode issues otherwise preventing it from connecting.
* Update get_possible_traffic_source_addresses returned array formatPhil Davis2015-03-131-4/+2
| | | | | | | | | | With this change it looks to me like the way it is intended to be, based on what was done to get_possible_listen_ips() Please review and check if this is what was intended for the code. With this change it should make the returned $sourceips array be in a consistent format the same way as get_possible_listen_ips() This is a fix for code that was only committed in master. So at this time the fix is only needed in master.
* txpower was disabled for good reason it would appear, it triggers syntax ↵Chris Buechler2015-03-131-1/+3
| | | | errors in some configurations. Disable it again since it's been disabled for years, and comment out the user-facing config portion for now since it doesn't do anything. Ticket #4516
* Set txpower since that seems to work fine now. Explicitly set authmode wpa ↵Chris Buechler2015-03-121-2/+5
| | | | | | | here, though it's also handled by the supplicant/authenticator. Ticket #4516 Conflicts: etc/inc/interfaces.inc
* Destroy stf interface when 6rd or 6to4 tunnel is disabled. Fixes #4471Chris Buechler2015-03-051-3/+9
|
* Code style guide interfaces.incPhil Davis2015-02-271-1052/+1488
| | | | | | This is another big file that has many diffs so Github refuses to display them. I thought it best to keep doing individual commit-pull for ones like this.
* Merge pull request #1516 from phil-davis/patch-2Renato Botelho2015-02-261-1/+2
|\
| * interface_netgraph_needed can miss setting found equals truePhil Davis2015-02-251-1/+2
| | | | | | | | | | | | This routine seems to go looking to see if the passed-in interface is PPP-style. At the end, if it is not PPP-style then it calls pfsense_ngctl_detach. This foreach loop in its current state will always exit after the first iteration that is not mode "server". But it looks like it should look through all the 'pppoe' entries until it finds the interface or gets to the end. In theory the code will sometimes miss setting $found = true when it should have. And thus pfsense_ngctl_detach would get called later for a PPP-style interface. I noticed this while reviewing for code style guide - it is an example where the indenting shows the intention but there are no curlies to implement it.
* | Log ifconfig commands used to setup wireless interfacesChris Buechler2015-02-261-0/+7
|/
* remove old, unused codeChris Buechler2015-02-251-2/+0
|
* Initialize var and move unset outside the loopRenato Botelho2015-02-241-1/+3
|
* Do not request prefix delegation if no tracking interfaces are setup tok-paulius2015-02-161-14/+17
| | | use it. Ticket #4436
* Fixes #4389 The VIP interfaces cannot be assigned since they are just an ↵Ermal LUÇI2015-02-111-9/+4
| | | | identification of the VIP for tracking. Consider that when configuring gif/gre. Also on bridges you cannot set a vip interface as its member.
* Random text typosPhil Davis2015-02-111-8/+8
| | | | that I noticed.
* Fixes #4397 Make mtu configuration before the ip address assignment. This ↵Ermal LUÇI2015-02-101-45/+46
| | | | fixes the issues of link routes having the wrong mtu configured on them.
* Properly calculate the 6rd default gateway honoring netmasks other than /32Ermal LUÇI2015-02-021-1/+5
|
* Fix typo in function nameRenato Botelho2015-01-221-1/+1
|
* Still missed one mistake on last commitRenato Botelho2015-01-161-1/+1
|
* Fix some logic mistakes introduced in 89f171b052, spotted by phil-davisRenato Botelho2015-01-161-6/+2
|
* fix syntax and unbreak interfaces.incRenato Botelho2015-01-161-2/+2
|
* Ticket #3997, teach code to track carp through uniqids(). Missing carp GUI ↵Ermal LUÇI2015-01-151-54/+122
| | | | changes and upgrade code
* Fixes #3281 do not undo any changes already done for gif/gre interface.Ermal LUÇI2015-01-101-9/+13
|
* some lagg modes are missing vlanmtu, but work fine with VLANs. Work around ↵Chris Buechler2015-01-081-0/+4
| | | | it for now at least. Ticket #4186
* split is deprecated move to explodeErmal LUÇI2015-01-071-4/+4
|
* Remove useless check, CARP does not depend of interface having another IP ↵Renato Botelho2015-01-061-16/+0
| | | | set before
* Revert "FreeBSD fails to set advskew back to 0 after you set it to any other"Renato Botelho2015-01-061-16/+4
| | | | | | A patch was added to allow set advskew back to 0 This reverts commit eea2ad5d61b2cbcf2957207fb0f13769c203cb36.
* Correct issue with not reloading CP properly on calling interface configure.Ermal LUÇI2014-12-221-2/+3
|
* Fix issue reported on https://forum.pfsense.org/index.php?topic=85737.0Ermal LUÇI2014-12-221-1/+1
|
* Check if interface exist before try to add it to groupRenato Botelho2014-12-181-2/+3
|
* Make logic more visible as suggested by ErmalRenato Botelho2014-12-161-1/+6
|
* Teach interface_vip_bring_down() to deal with IP Alias over CARPRenato Botelho2014-12-161-1/+7
|
* Don't try to launch 3gstats unless it's on a valid device.Chris Buechler2014-12-041-2/+4
|
* After discussion with Ermal, remove this to force consumers to send thingsChris Buechler2014-12-041-7/+0
| | | | | properly. I fixed the scenario in Unbound where it was sending IPs to these functions rather than an interface, so this has no functional diff.
* replace spaces with tabsChris Buechler2014-12-041-2/+2
|
* change the ordering of dhcpd_configure and unbound_configure here, claims on ↵Chris Buechler2014-12-041-3/+3
| | | | forum it fixes issue I can't seem to replicate.
OpenPOWER on IntegriCloud