From bf8de77465e3cbfcc9188c263080e9dc29a89f19 Mon Sep 17 00:00:00 2001 From: Lisa Hsu Date: Wed, 21 Apr 2004 18:23:41 -0400 Subject: This is where I'm at for Linux Ethernet before I head to Mexico. base/range.hh: andrew thought this might be a bug. dev/etherpkt.cc: don't need std:: since there is a using directive dev/ns_gige.cc: update to new PIO and PCI system dev/ns_gige.hh: update to deal with new PIO and PCI setup dev/ns_gige_reg.h: Add some new #defines that I ended up needing dev/pcidev.cc: some changes to the debugging printfs of pci device --HG-- extra : convert_revision : 955ba8e8e1c418cfe1c6549dc3451ea091541556 --- base/range.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/range.hh') diff --git a/base/range.hh b/base/range.hh index d72aa9755..2c4a43f48 100644 --- a/base/range.hh +++ b/base/range.hh @@ -225,7 +225,7 @@ inline bool operator==(const T &pos, const Range &range) { assert(range.valid()); - return pos >= range.start && pos < range.end; + return pos >= range.start && pos <= range.end; } /** -- cgit v1.2.3