Initialize prot variable.

PR:		177417
MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2013-11-11 13:19:55 +00:00
parent ee674966f4
commit 00a689c438

View File

@ -603,6 +603,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