svn commit: r204862 - head/sys/netinet/ipfw
Luigi Rizzo
luigi at FreeBSD.org
Mon Mar 8 11:22:47 UTC 2010
Author: luigi
Date: Mon Mar 8 11:22:47 2010
New Revision: 204862
URL: http://svn.freebsd.org/changeset/base/204862
Log:
do not report an error unnecessarily
Modified:
head/sys/netinet/ipfw/ip_dummynet.c
Modified: head/sys/netinet/ipfw/ip_dummynet.c
==============================================================================
--- head/sys/netinet/ipfw/ip_dummynet.c Mon Mar 8 11:19:52 2010 (r204861)
+++ head/sys/netinet/ipfw/ip_dummynet.c Mon Mar 8 11:22:47 2010 (r204862)
@@ -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;
}
}
More information about the svn-src-all
mailing list