From 00a689c438d45511b8720f4f3c84427be134efbf Mon Sep 17 00:00:00 2001 From: "Andrey V. Elsukov" Date: Mon, 11 Nov 2013 13:19:55 +0000 Subject: [PATCH] Initialize prot variable. PR: 177417 MFC after: 1 week --- sys/netipsec/ipsec_input.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/netipsec/ipsec_input.c b/sys/netipsec/ipsec_input.c index 859b7ee70c1e..f0195814a1af 100644 --- a/sys/netipsec/ipsec_input.c +++ b/sys/netipsec/ipsec_input.c @@ -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