Fix a bug found in ping6 when rebuilding with stack protector strong.
authorbrad <brad@openbsd.org>
Fri, 10 Jan 2014 06:18:40 +0000 (06:18 +0000)
committerbrad <brad@openbsd.org>
Fri, 10 Jan 2014 06:18:40 +0000 (06:18 +0000)
commit048aea0f975b403c23516f2af66cbf13174a7553
tree1dd20c914613c7db0098108193e5d05881449dfa
parent5bf2634b5255dbac96210bb49b30dca2e23ee00a
Fix a bug found in ping6 when rebuilding with stack protector strong.
rtableid is unitialized; the stack protector strong binary would fail
to set the routing table id. Copy the rtableid initialization over to
ping to keep what is essentially similar code in sync.

ok deraadt@
sbin/ping/ping.c
sbin/ping6/ping6.c