#
0989c651 |
| 13-Dec-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Replace bzero()/bcopy() with memset()/memcpy()
The latter is also more frequently used in this code.
|
#
7203d4e3 |
| 12-Dec-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Rename global 'name' to 'IfName' to avoid shadowing
Fix warnings of shadowed declarations with the parameter of some functions.
|
#
93b0f758 |
| 12-Dec-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Minor code simplifications and style cleanups
|
#
63f85492 |
| 12-Dec-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Fix numerious unused parameter warnings
|
#
e59a93fd |
| 12-Dec-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Add 'static' to several non-extern global variables
|
#
ec7e0eeb |
| 25-Nov-2023 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Use constructor priority to define the orders
Originally all the modules use the same constructor priority (101) and rely on the linking orders (set by the file orders in the Makefile)
ifconfig(8): Use constructor priority to define the orders
Originally all the modules use the same constructor priority (101) and rely on the linking orders (set by the file orders in the Makefile) to determine their initialization orders.
As described in the comment in Makefile, adjust the constructor priorities of each module to define their orders.
show more ...
|
Revision tags: v6.4.0, v6.4.0rc1, v6.5.0, v6.2.2, v6.2.1, v6.2.0, v6.3.0, v6.0.1, v6.0.0, v6.0.0rc1, v6.1.0, v5.8.3, v5.8.2, v5.8.1 |
|
#
598a666b |
| 12-Apr-2020 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Make lagg creation more fault-tolerant
* Warn, don't exit, when SIOCSLAGGPORT returns an error.
When we exit with an error during lagg creation, a single failed NIC (which no longe
ifconfig(8): Make lagg creation more fault-tolerant
* Warn, don't exit, when SIOCSLAGGPORT returns an error.
When we exit with an error during lagg creation, a single failed NIC (which no longer attaches) can prevent lagg creation and other configuration, such as adding an IPv4 address, and thus leave a machine unreachable.
* Preserve non-EEXISTS errors for exit status from SIOCSLAGGPORT, in case scripts are looking for it. Hopefully this can be extended if other parts of ifconfig can allow a "soft" failure.
* Improve the warning message to mention what lagg and what member are problematic.
Obtained from FreeBSD: https://github.com/freebsd/freebsd/commit/dde41c97866152e8c7eb1f52f07e3e5ac43b2652 https://reviews.freebsd.org/D15046
show more ...
|
Revision tags: v5.8.0, v5.9.0, v5.8.0rc1, v5.6.3, v5.6.2, v5.6.1, v5.6.0, v5.6.0rc1, v5.7.0, v5.4.3, v5.4.2, v5.4.1, v5.4.0, v5.5.0, v5.4.0rc1, v5.2.2, v5.2.1, v5.2.0, v5.3.0, v5.2.0rc |
|
#
46158ff5 |
| 24-Mar-2018 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Sync with FreeBSD a bit and various cleanups
* Sync ifconfig.c a bit with FreeBSD; replace several warnx() with errx(), and improve error messages a bit.
* Remove unnecessary exit()
ifconfig(8): Sync with FreeBSD a bit and various cleanups
* Sync ifconfig.c a bit with FreeBSD; replace several warnx() with errx(), and improve error messages a bit.
* Remove unnecessary exit() after Perror().
* Sync if_clone.c with FreeBSD.
* Add inclusion guard to ifconfig.h.
* Make iseq() a static function for ifieee80211.c and regdomain.c, replacing the duplicate definitions of it; and use iseq() consistently to replace strncasecmp() and strcasecmp().
* Move "struct ident" from regdomain.c to regdomain.h, and add and use "enum IdentType".
* Various whitespace cleanups.
* Cleanup header file inclusion: remove duplicates, and reorder a bit.
* Fix various signed vs. unsigned comparisons.
* Fix some compilation warnings, and raise WARNS to 3.
show more ...
|
#
b6b91ec7 |
| 20-Mar-2018 |
Aaron LI <aly@aaronly.me> |
ifconfig(8): Use nitems() consistently
|
#
1b11ea06 |
| 09-Apr-2018 |
Sascha Wildner <saw@online.de> |
Remove a number of duplicated includes in userland.
|
#
e62ef63c |
| 18-Feb-2018 |
Sascha Wildner <saw@online.de> |
Replace local array size calculations with NELEM().
|
#
bde0ea86 |
| 22-Jan-2018 |
Sascha Wildner <saw@online.de> |
Fix some -Wunused-const-variable warnings and a -Wmisleading-indentation.
|
Revision tags: v5.0.2, v5.0.1, v5.0.0, v5.0.0rc2, v5.1.0, v5.0.0rc1, v4.8.1, v4.8.0, v4.6.2, v4.9.0, v4.8.0rc, v4.6.1, v4.6.0, v4.6.0rc2, v4.6.0rc, v4.7.0, v4.4.3, v4.4.2, v4.4.1, v4.4.0, v4.5.0, v4.4.0rc, v4.2.4, v4.3.1, v4.2.3, v4.2.1, v4.2.0, v4.0.6, v4.3.0, v4.2.0rc, v4.0.5, v4.0.4, v4.0.3, v4.0.2, v4.0.1, v4.0.0, v4.0.0rc3, v4.0.0rc2, v4.0.0rc, v4.1.0 |
|
#
a7de061c |
| 28-Sep-2014 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
net: add version numbers to lagg sourcefiles, adapt manpage
|
Revision tags: v3.8.2, v3.8.1, v3.6.3, v3.8.0, v3.8.0rc2, v3.9.0, v3.8.0rc, v3.6.2, v3.6.1 |
|
#
50b1e235 |
| 22-Nov-2013 |
Markus Pfeiffer <markus.pfeiffer@morphism.de> |
net: import FreeBSD's if_lagg
|