Fallout from the ALTQ import.

This commit is contained in:
Ruslan Ermilov 2005-02-12 17:03:01 +00:00
parent ec54f56441
commit 0572dfac4b

View File

@ -619,7 +619,7 @@ ng_source_intr(node_p node, hook_p hook, void *arg1, int arg2)
}
if (sc->output_ifp != NULL) {
ifq = &sc->output_ifp->if_snd;
ifq = (struct ifqueue *)&sc->output_ifp->if_snd;
packets = ifq->ifq_maxlen - ifq->ifq_len;
} else
packets = sc->snd_queue.ifq_len;