This should eventually replace the socket passed to the various handlers. In the meantime, making it global avoids repeatedly opening and closing handles.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sbin/ifconfig/ifconfig.c | ||
---|---|---|
434 | It doesn't make any functional difference, but we should probably do ifconfig_close(lifh); at the end of main(). |