diff options
author | Hiroki Sato <hrs@FreeBSD.org> | 2020-08-23 19:46:58 +0000 |
---|---|---|
committer | Hiroki Sato <hrs@FreeBSD.org> | 2020-08-23 19:46:58 +0000 |
commit | 7d6e9df4a5b283a7f3bf3a7ce9df26c7ed879201 (patch) | |
tree | 8c9f295ed4c0d781a805d053e5c3b7a4d811d814 /security/ipv6toolkit/files/patch-tools-libipv6.c | |
parent | Cosmetic change (diff) |
- Fix a build breakage when -fno-common is specified.
- Minor style fixes.
Notes
Notes:
svn path=/head/; revision=545978
Diffstat (limited to 'security/ipv6toolkit/files/patch-tools-libipv6.c')
-rw-r--r-- | security/ipv6toolkit/files/patch-tools-libipv6.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/security/ipv6toolkit/files/patch-tools-libipv6.c b/security/ipv6toolkit/files/patch-tools-libipv6.c new file mode 100644 index 000000000000..4bb310db9129 --- /dev/null +++ b/security/ipv6toolkit/files/patch-tools-libipv6.c @@ -0,0 +1,13 @@ +--- tools/libipv6.c.orig 2015-04-05 14:01:29 UTC ++++ tools/libipv6.c +@@ -70,8 +70,8 @@ sigjmp_buf env; + unsigned int canjump; + + /* pcap variables */ +-char errbuf[PCAP_ERRBUF_SIZE]; +-struct bpf_program pcap_filter; ++static char errbuf[PCAP_ERRBUF_SIZE]; ++static struct bpf_program pcap_filter; + + #ifdef __linux__ + /* Netlink requests */ |