summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/i4b/capi/iavc/iavc_lli.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i4b/capi/iavc/iavc_lli.c b/sys/i4b/capi/iavc/iavc_lli.c
index 7ce7eb4..a8ffb5a 100644
--- a/sys/i4b/capi/iavc/iavc_lli.c
+++ b/sys/i4b/capi/iavc/iavc_lli.c
@@ -256,7 +256,11 @@ int iavc_send(capi_softc_t *capi_sc, struct mbuf *m)
}
if (_IF_QFULL(&sc->sc_txq)) {
+#if defined (__FreeBSD__) && __FreeBSD__ > 4
_IF_DROP(&sc->sc_txq);
+#else
+ IF_DROP(&sc->sc_txq);
+#endif
printf("iavc%d: tx overflow, message dropped\n", sc->sc_unit);
OpenPOWER on IntegriCloud