summaryrefslogtreecommitdiffstats
path: root/lib/sockopt.c
diff options
context:
space:
mode:
authorgdt <gdt>2004-01-06 01:13:05 +0000
committergdt <gdt>2004-01-06 01:13:05 +0000
commit8316b2334152142565b4b1c14d625fd091447608 (patch)
treef716f59032810272d163eb2a3eed2fca4aac0d7f /lib/sockopt.c
parent2b7f1aef756a790a554904cf2fe14883cf6a4dee (diff)
downloadquagga-8316b2334152142565b4b1c14d625fd091447608.tar.bz2
quagga-8316b2334152142565b4b1c14d625fd091447608.tar.xz
2004-01-05 Greg Troxel <gdt@fnord.ir.bbn.com>
* kernel_socket.c (ifm_read): Major cleanup. Use Sowmini's code to find the sockaddr_dl in all cases, narrowing the Solaris ifdef to just the accomodation of broken kernels. Check sockaddr_dl carefully up front, and later assume any non-NULL sdl pointer is valid. Clean up types and variable declarations, and rename WRAPUP to SAROUNDUP to make the name fit the behavior.
Diffstat (limited to 'lib/sockopt.c')
0 files changed, 0 insertions, 0 deletions