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;
                        }
                }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to