]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
misc cleanup in sysctl_ifmalist():
authorLuigi Rizzo <luigi@FreeBSD.org>
Sat, 17 Apr 2004 15:09:36 +0000 (15:09 +0000)
committerLuigi Rizzo <luigi@FreeBSD.org>
Sat, 17 Apr 2004 15:09:36 +0000 (15:09 +0000)
commit913af5185990b66c7dd1609fafbe77f0b4adb5c0
tree14e7d890b7526601cbb3c31137cf0e404633b1b4
parentb462702f947669c735f24ce8dd313caac432044b
misc cleanup in sysctl_ifmalist():
 + remove a partly incorrect comment that i introduced in the last commit;
 + deal with the correct part of the above comment by cleaning up the
   updates of 'info' -- rti_addrs needd not to be updated,
   rti_info[RTAX_IFP] can be set once outside the loop.
While at it, correct a few misspelling of NULL as 0, but there are
way too many in this file, and i did not want to clutter the
important part of this commit.
sys/net/rtsock.c