Public bug reported:

The comparison at arp.c line 283 is wrong.  In 64-bit machines, a long
is 64 bits.  The cast is wrong.  The s_addr is 32 bits long.

It should be something like this.

if ( ipaddr.s_addr == ((struct in_addr *)
cur_entry->req_frame.arp.arp_tpa)->s_addr && ifindex !=
cur_entry->req_if.sll_ifindex ) {

** Affects: parprouted (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1668339

Title:
  Comparison at arp.c line 283 is wrong.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parprouted/+bug/1668339/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to