Date: Fri, 31 Jul 2009 13:07:50 +0400 (MSD) From: Pavel I Volkov <pol@opk.ru> To: FreeBSD-gnats-submit@FreeBSD.org Cc: pol@opk.ru Subject: ports/137297: [PATCH] emulators/dynamips-devel: -m can't parse Cisco format Message-ID: <200907310907.n6V97oYa073167@pol.iib.ru> Resent-Message-ID: <200907310910.n6V9A2Jc009810@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 137297 >Category: ports >Synopsis: [PATCH] emulators/dynamips-devel: -m can't parse Cisco format >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 31 09:10:02 UTC 2009 >Closed-Date: >Last-Modified: >Originator: Pavel I Volkov >Release: FreeBSD 7.2-STABLE i386 >Organization: >Environment: System: FreeBSD pol.iib.ru 7.2-STABLE FreeBSD 7.2-STABLE #364: Mon Jul 20 13:50:36 MSD 2009 >Description: dynamips -m can't parse Cisco format (0001.0002.0003), because parse_mac_addr() can parse it, but not return(0). Added file(s): - files/patch-net.c Port maintainer (pol@opk.ru) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- dynamips-devel-0.2.8.r2_2.patch begins here --- diff -ruN --exclude=CVS /usr/ports/emulators/dynamips-devel.orig/Makefile /usr/ports/emulators/dynamips-devel/Makefile --- /usr/ports/emulators/dynamips-devel.orig/Makefile 2009-07-20 16:01:57.000000000 +0400 +++ /usr/ports/emulators/dynamips-devel/Makefile 2009-07-31 12:58:34.000000000 +0400 @@ -7,12 +7,12 @@ PORTNAME= dynamips DISTVERSION= 0.2.8-RC2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= emulators MASTER_SITES= http://www.ipflow.utc.fr/dynamips/ PKGNAMESUFFIX= -devel -MAINTAINER= pol@opk.ru +MAINTAINER= pol@iib.ru COMMENT= Cisco 1700/2600/3600/3700/7200 Simulator LIB_DEPENDS= elf.0:${PORTSDIR}/devel/libelf diff -ruN --exclude=CVS /usr/ports/emulators/dynamips-devel.orig/files/patch-net.c /usr/ports/emulators/dynamips-devel/files/patch-net.c --- /usr/ports/emulators/dynamips-devel.orig/files/patch-net.c 1970-01-01 03:00:00.000000000 +0300 +++ /usr/ports/emulators/dynamips-devel/files/patch-net.c 2009-07-20 16:24:59.000000000 +0400 @@ -0,0 +1,10 @@ +--- net.c.orig 2009-07-20 16:23:20.000000000 +0400 ++++ net.c 2009-07-20 16:24:14.000000000 +0400 +@@ -209,6 +209,7 @@ + addr->eth_addr_byte[3] = v[1] & 0xFF; + addr->eth_addr_byte[4] = (v[2] >> 8) & 0xFF; + addr->eth_addr_byte[5] = v[2] & 0xFF; ++ return(0); + } + + return(-1); --- dynamips-devel-0.2.8.r2_2.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200907310907.n6V97oYa073167>