Merge pull request #75 from fingon/fix-linux3.10-ipv6-pinhole
netfilter: Linux 3.10(?) IPv6 firewall pinhole fix
This commit is contained in:
commit
f841aa9e56
|
@ -206,6 +206,8 @@ int add_pinhole(const char * ifname,
|
|||
|
||||
e = calloc(1, sizeof(struct ip6t_entry));
|
||||
e->ipv6.proto = proto;
|
||||
if (proto)
|
||||
e->ipv6.flags |= IP6T_F_PROTO;
|
||||
|
||||
if(ifname)
|
||||
strncpy(e->ipv6.iniface, ifname, IFNAMSIZ);
|
||||
|
|
Loading…
Reference in New Issue