summaryrefslogtreecommitdiffstats
path: root/usr.sbin/bsdinstall/scripts/copy_configxml_from_usb
diff options
context:
space:
mode:
authorvangyzen <vangyzen@FreeBSD.org>2017-03-10 20:25:43 +0000
committerLuiz Souza <luiz@netgate.com>2017-07-17 19:06:03 -0500
commit32f8b013224b51c89efa7bc824ef1fbf351f498b (patch)
treef7ee3977c6f7508f997d174b3ed63cbb180e7fc8 /usr.sbin/bsdinstall/scripts/copy_configxml_from_usb
parentdd1acdc3453c78ebead0cfe029622d1aa7513f34 (diff)
downloadFreeBSD-src-32f8b013224b51c89efa7bc824ef1fbf351f498b.zip
FreeBSD-src-32f8b013224b51c89efa7bc824ef1fbf351f498b.tar.gz
MFC r313820
pf: use inet_ntoa_r() instead of inet_ntoa(); maybe fix IPv6 OS fingerprinting inet_ntoa() cannot be used safely in a multithreaded environment because it uses a static local buffer. Instead, use inet_ntoa_r() with a buffer on the caller's stack. This code had an INET6 conditional before this commit, but opt_inet6.h was not included, so INET6 was never defined. Apparently, pf's OS fingerprinting hasn't worked with IPv6 for quite some time. This commit might fix it, but I didn't test that. Relnotes: yes (if I/someone can test pf OS fingerprinting with IPv6) Sponsored by: Dell EMC (cherry picked from commit b7b8fbe03255a1a3b3ca664044f99a4b1d9e0587)
Diffstat (limited to 'usr.sbin/bsdinstall/scripts/copy_configxml_from_usb')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud