[Bug 201382] net/dhcprelay: Does not work on big-endian machines
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Mon Jul 6 21:13:47 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201382
Bug ID: 201382
Summary: net/dhcprelay: Does not work on big-endian machines
Product: Ports & Packages
Version: Latest
Hardware: mips
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: kp at freebsd.org
CC: edwin at mavetju.org, freebsd-mips at FreeBSD.org
Flags: maintainer-feedback?(edwin at mavetju.org)
CC: edwin at mavetju.org, freebsd-mips at FreeBSD.org
Created attachment 158434
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=158434&action=edit
dhcprelay patch
net/dhcprelay doesn't work on big-endian machines.
In pcap_callback() it checks if the received ethernet frame contains an IP
packet as follows: "eh->ether_type!=8". That's correct on a little-endian
system, but not on a big-endian one.
The attached patch fixes the issue.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the freebsd-mips
mailing list