mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
Fix another boatload of warnings (missing include) and a cosmetic
-Wuninitialized warning.
This commit is contained in:
parent
777b9faaa4
commit
71e166afe3
2 changed files with 4 additions and 0 deletions
|
|
@ -66,6 +66,7 @@
|
|||
#ifdef INET6
|
||||
#include <netinet/ip6.h>
|
||||
#include <netinet6/ip6_var.h>
|
||||
#include <netinet/in_pcb.h>
|
||||
#include <netinet6/in6_pcb.h>
|
||||
#include <netinet/icmp6.h>
|
||||
#include <netinet6/ip6protosw.h>
|
||||
|
|
@ -990,6 +991,7 @@ ah6_ctlinput(cmd, sa, d)
|
|||
} else {
|
||||
m = NULL;
|
||||
ip6 = NULL;
|
||||
off = 0; /* calm gcc */
|
||||
}
|
||||
|
||||
if (ip6) {
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@
|
|||
|
||||
#ifdef INET6
|
||||
#include <netinet/ip6.h>
|
||||
#include <netinet/in_pcb.h>
|
||||
#include <netinet6/in6_pcb.h>
|
||||
#include <netinet6/ip6_var.h>
|
||||
#include <netinet/icmp6.h>
|
||||
|
|
@ -914,6 +915,7 @@ esp6_ctlinput(cmd, sa, d)
|
|||
} else {
|
||||
m = NULL;
|
||||
ip6 = NULL;
|
||||
off = 0; /* calm gcc */
|
||||
}
|
||||
|
||||
if (ip6) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue