summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipfw
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2010-03-08 11:22:47 +0000
committerluigi <luigi@FreeBSD.org>2010-03-08 11:22:47 +0000
commitd13cb4f803574293af53cd30e8e76a9d8f7b8f1b (patch)
tree99ed6db6adf4f31787c320c1f6be451661d95492 /sys/netinet/ipfw
parent3ebe1a78260c5f655c4274fd9637412d2c7c9923 (diff)
downloadFreeBSD-src-d13cb4f803574293af53cd30e8e76a9d8f7b8f1b.zip
FreeBSD-src-d13cb4f803574293af53cd30e8e76a9d8f7b8f1b.tar.gz
do not report an error unnecessarily
Diffstat (limited to 'sys/netinet/ipfw')
-rw-r--r--sys/netinet/ipfw/ip_dummynet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/ipfw/ip_dummynet.c b/sys/netinet/ipfw/ip_dummynet.c
index 842f17e..1c0fc2c 100644
--- a/sys/netinet/ipfw/ip_dummynet.c
+++ b/sys/netinet/ipfw/ip_dummynet.c
@@ -1485,6 +1485,7 @@ next:
/* sched config shouldn't modify the FIFO scheduler */
if (dn_ht_find(dn_cfg.schedhash, i, 0, &a) != NULL) {
/* FIFO already exist, don't touch it */
+ err = 0; /* and this is not an error */
goto error;
}
}
OpenPOWER on IntegriCloud