From df02bd1b3f2eecca04bfecb62eae7c2ff698506a Mon Sep 17 00:00:00 2001 From: Stefan Roese Date: Wed, 14 Jun 2006 10:18:39 +0200 Subject: Fix IxEthDB.h to compile again Patch by Stefan Roese, 14 Jun 2006 --- cpu/ixp/npe/include/IxEthDB.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cpu/ixp') diff --git a/cpu/ixp/npe/include/IxEthDB.h b/cpu/ixp/npe/include/IxEthDB.h index 43ee802d6..1189c9a14 100644 --- a/cpu/ixp/npe/include/IxEthDB.h +++ b/cpu/ixp/npe/include/IxEthDB.h @@ -799,10 +799,10 @@ IxEthDBStatus ixEthDBFilteringDatabaseShowRecords(IxEthDBPortId portID, IxEthDBR * @verbatim IxEthDBPortMap portMap; - /* clear all ports from port map */ + // clear all ports from port map memset(portMap, 0, sizeof (portMap)); - /* include portID in port map */ + // include portID in port map portMap[portID / 8] = 1 << (portID % 8); @endverbatim * -- cgit v1.2.3