Searched hist:"982 cd5ae8ef6541fffcb4251a5a2ab59d706df10" (Results 1 – 2 of 2) sorted by relevance
/freebsd/sbin/ifconfig/ |
H A D | ifmedia.c | diff 982cd5ae8ef6541fffcb4251a5a2ab59d706df10 Wed May 10 11:58:56 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> ifconfig: split argument parsing and actual execution logic
Reduce the amount of global variables by creating the dedicated ifconfig_args structure and use it as a context-passing variable. Simplify the code by moving all argument preparation code a separate function.
Reviewed by: kp (previous version) Differential Revision: https://reviews.freebsd.org/D39932 MFC after: 2 weeks
|
H A D | ifconfig.c | diff 982cd5ae8ef6541fffcb4251a5a2ab59d706df10 Wed May 10 11:58:56 CEST 2023 Alexander V. Chernikov <melifaro@FreeBSD.org> ifconfig: split argument parsing and actual execution logic
Reduce the amount of global variables by creating the dedicated ifconfig_args structure and use it as a context-passing variable. Simplify the code by moving all argument preparation code a separate function.
Reviewed by: kp (previous version) Differential Revision: https://reviews.freebsd.org/D39932 MFC after: 2 weeks
|