Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jul 2015 16:09:20 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r392384 - in branches/2015Q3/net/dhcprelay: . files
Message-ID:  <201507171609.t6HG9Knd061624@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@freebsd.org
  Approved by:	ports-secteam (feld), edwin@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;
+     }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201507171609.t6HG9Knd061624>