]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Reduce the number of local variables. Remove redundant check that inp
authorae <ae@FreeBSD.org>
Thu, 17 Mar 2016 11:10:44 +0000 (11:10 +0000)
committerae <ae@FreeBSD.org>
Thu, 17 Mar 2016 11:10:44 +0000 (11:10 +0000)
commit2d399eaa6e5da8518684c2d5e0232a9a8fa5631e
tree37ce4364b6722e2bc6b67cbcb6f999e5882af9b1
parenta3a4fe00396dd61399083b8fe95b3cfc27f5b697
Reduce the number of local variables. Remove redundant check that inp
pointer isn't NULL, it is safe, because we are handling IPV6_PKTINFO
socket option in this block of code. Also, use in6ifa_withaddr() instead
of ifa_withaddr().
sys/netinet6/in6_src.c