diff --git a/sys/netinet/ipfw/ip_dummynet.c b/sys/netinet/ipfw/ip_dummynet.c index 842f17e7a92f..1c0fc2c389c5 100644 --- a/sys/netinet/ipfw/ip_dummynet.c +++ b/sys/netinet/ipfw/ip_dummynet.c @@ -1485,6 +1485,7 @@ config_sched(struct dn_sch *_nsch, struct dn_id *arg) /* 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; } }