MFC r257987:

Initialize prot variable.

  PR:		177417
This commit is contained in:
ae 2013-12-14 04:24:32 +00:00
parent a210965c36
commit 1277739e09

View File

@ -602,6 +602,7 @@ ipsec6_common_input_cb(struct mbuf *m, struct secasvar *sav, int skip, int proto
ip6->ip6_plen = htons(m->m_pkthdr.len - sizeof(struct ip6_hdr));
/* Save protocol */
prot = 0;
m_copydata(m, protoff, 1, (unsigned char *) &prot);
#ifdef notyet