diff --git a/common/nit.c b/common/nit.c index 7937b60a..48c0525e 100644 --- a/common/nit.c +++ b/common/nit.c @@ -188,10 +188,6 @@ void if_register_receive (info, interface) if (ioctl (info -> rfdesc, NIOCSFLAGS, &x) < 0) error ("Can't set NIT flags: %m"); - /* Copy the address into two shorts for comparison in the NIT - filter... */ - memcpy (addr, info -> address.iabuf, 4); - /* Set up the NIT filter program. */ /* XXX Unlike the BPF filter program, this one won't work if the XXX IP packet is fragmented or if there are options on the IP diff --git a/nit.c b/nit.c index 7937b60a..48c0525e 100644 --- a/nit.c +++ b/nit.c @@ -188,10 +188,6 @@ void if_register_receive (info, interface) if (ioctl (info -> rfdesc, NIOCSFLAGS, &x) < 0) error ("Can't set NIT flags: %m"); - /* Copy the address into two shorts for comparison in the NIT - filter... */ - memcpy (addr, info -> address.iabuf, 4); - /* Set up the NIT filter program. */ /* XXX Unlike the BPF filter program, this one won't work if the XXX IP packet is fragmented or if there are options on the IP