summaryrefslogtreecommitdiff
path: root/nit.c
diff options
context:
space:
mode:
authorTed Lemon <source@isc.org>1996-05-22 11:31:19 +0000
committerTed Lemon <source@isc.org>1996-05-22 11:31:19 +0000
commit7aff09472e4be77dc63c0d178ba7548df504236c (patch)
tree9f1e42677b873abc55c1eb3d019f8f6faa302fec /nit.c
parentee4c389d7fa95b543c17552c46443dcb425a5bad (diff)
downloadisc-dhcp-7aff09472e4be77dc63c0d178ba7548df504236c.tar.gz
Don't copy address for comparison
Diffstat (limited to 'nit.c')
-rw-r--r--nit.c4
1 files changed, 0 insertions, 4 deletions
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