svn commit: r392384 - in branches/2015Q3/net/dhcprelay: . files
Thomas Zander
riggs at FreeBSD.org
Fri Jul 17 16:09:21 UTC 2015
Author: riggs
Date: Fri Jul 17 16:09:19 2015
New Revision: 392384
URL: https://svnweb.freebsd.org/changeset/ports/392384
Log:
MFH: r392296
Fix runtime error: Packet type identification on big-endian
machines which prevented it from working correctly on e.g.
MIPS-based routers.
PR: 201382
Submitted by: kp at freebsd.org
Approved by: ports-secteam (feld), edwin at mavetju.org (maintainer)
Added:
branches/2015Q3/net/dhcprelay/files/patch-dhcprelay.c
- copied unchanged from r392296, head/net/dhcprelay/files/patch-dhcprelay.c
Modified:
branches/2015Q3/net/dhcprelay/Makefile
branches/2015Q3/net/dhcprelay/files/patch-Makefile
Directory Properties:
branches/2015Q3/ (props changed)
Modified: branches/2015Q3/net/dhcprelay/Makefile
==============================================================================
--- branches/2015Q3/net/dhcprelay/Makefile Fri Jul 17 15:53:54 2015 (r392383)
+++ branches/2015Q3/net/dhcprelay/Makefile Fri Jul 17 16:09:19 2015 (r392384)
@@ -3,7 +3,7 @@
PORTNAME= dhcprelay
PORTVERSION= 1.2
-PORTREVISION= 3
+PORTREVISION= 4
CATEGORIES= net
MASTER_SITES= http://www.mavetju.org/download/
Modified: branches/2015Q3/net/dhcprelay/files/patch-Makefile
==============================================================================
--- branches/2015Q3/net/dhcprelay/files/patch-Makefile Fri Jul 17 15:53:54 2015 (r392383)
+++ branches/2015Q3/net/dhcprelay/files/patch-Makefile Fri Jul 17 16:09:19 2015 (r392384)
@@ -1,5 +1,5 @@
---- Makefile.orig Tue Nov 15 18:25:30 2005
-+++ Makefile Tue Nov 15 18:25:59 2005
+--- Makefile.orig 2006-03-21 02:46:28 UTC
++++ Makefile
@@ -1,8 +1,10 @@
+all: dhcprelay
+
Copied: branches/2015Q3/net/dhcprelay/files/patch-dhcprelay.c (from r392296, head/net/dhcprelay/files/patch-dhcprelay.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/2015Q3/net/dhcprelay/files/patch-dhcprelay.c Fri Jul 17 16:09:19 2015 (r392384, copy of r392296, head/net/dhcprelay/files/patch-dhcprelay.c)
@@ -0,0 +1,11 @@
+--- dhcprelay.c.orig 2006-03-21 02:46:28 UTC
++++ dhcprelay.c
+@@ -186,7 +186,7 @@ void pcap_callback(u_char *user, const s
+ printf(" %d",eh->ether_type);
+ }
+ // check for IPv4 packets
+- if (eh->ether_type!=8) {
++ if (eh->ether_type != htons(0x800)) {
+ if (DEBUG>1) printf("\n");
+ return;
+ }
More information about the svn-ports-branches
mailing list