summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Disable IPv6 on subdevices for bonding and bridges0.7.9Patrick McLean2024-08-281-0/+2
| | | | | | | | | | | Rather than shelling out to the `sysctl` command like the PR does, let's write directly to `/proc/sys` after checking that it exists. This likely needs work to do the same thing on BSD. Closes: https://bugs.gentoo.org/515640 Closes: https://github.com/gentoo/netifrc/pull/55 Signed-off-by: Patrick McLean <chutzpah@gentoo.org>
* net/bridge.sh: Add support for network namespaces when using iproute2Patrick McLean2021-03-111-14/+14
| | | | Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
* Add shellcheck toolingRobin H. Johnson2019-04-201-0/+1
| | | | Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
* net: bridge: add warning when using sysfs variables without prefixAlon Bar-Lev2015-11-081-0/+2
| | | | Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
* net: bridge: add bridge_ and brport_ prefixes to sysfs interfaceAlon Bar-Lev2015-11-071-12/+17
| | | | | | keep the no prefix to be backward compatible. Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
* net: bridge: support iproute2Alon Bar-Lev2015-11-071-19/+56
| | | | | | | | | | | add bridge_force_IFVAR to be interface independent. mark the brctl_IFVAR as deprecated. enable easy removal of brctl in future in favour of the iproute2 without leaving legacy. Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
* net: bridge: display a warning for brctl options depreciationAlon Bar-Lev2015-11-071-9/+13
| | | | Signed-off-by: Alon Bar-Lev <alonbl@gentoo.org>
* Revert "bridge: use/prefer iproute2/sysfs where possible"Alon Bar-Lev2015-11-071-83/+6
| | | | This reverts commit 6befe06a7e72b5b7f17c7f1118fc16000a0cce13.
* bridge: use/prefer iproute2/sysfs where possibleDoug Freed2015-03-141-6/+83
| | | | | | Use and prefer iproute2 and sysfs over bridge-utils where possible. Most users already have iproute2 installed, so this reduces the number of external programs they need to use all of netifrc's functionality.
* initial commit ported from OpenRcWilliam Hubbs2013-04-061-0/+190