Make gcc4.2 happy and zero save_ip for the unlikely (blackhole != 0)
codepath.
This commit is contained in:
parent
3f8d71d596
commit
cce418d3bf
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=170861
@ -243,6 +243,8 @@ udp_input(struct mbuf *m, int off)
|
||||
*/
|
||||
if (!blackhole)
|
||||
save_ip = *ip;
|
||||
else
|
||||
memset(&save_ip, 0, sizeof(save_ip));
|
||||
|
||||
/*
|
||||
* Checksum extended UDP header and data.
|
||||
|
Loading…
Reference in New Issue
Block a user