From owner-svn-ports-all@freebsd.org Fri Jul 17 16:09:21 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6A8719A4ECF; Fri, 17 Jul 2015 16:09:21 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3832910C7; Fri, 17 Jul 2015 16:09:21 +0000 (UTC) (envelope-from riggs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.70]) by repo.freebsd.org (8.14.9/8.14.9) with ESMTP id t6HG9K2T061627; Fri, 17 Jul 2015 16:09:20 GMT (envelope-from riggs@FreeBSD.org) Received: (from riggs@localhost) by repo.freebsd.org (8.14.9/8.14.9/Submit) id t6HG9Knd061624; Fri, 17 Jul 2015 16:09:20 GMT (envelope-from riggs@FreeBSD.org) Message-Id: <201507171609.t6HG9Knd061624@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: riggs set sender to riggs@FreeBSD.org using -f From: Thomas Zander Date: Fri, 17 Jul 2015 16:09:20 +0000 (UTC) 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 X-SVN-Group: ports-branches MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 17 Jul 2015 16:09:21 -0000 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; + }