We tried to get pflow running in a non-default rdomain, and found this to get 
it going. Make sense?

--- sys/net/if_pflow.c.orig     Fri Sep 13 20:58:40 2013
+++ sys/net/if_pflow.c  Mon Sep 16 13:25:54 2013
@@ -1213,6 +1213,8 @@
        sc->sc_if.if_opackets++;
        sc->sc_if.if_obytes += m->m_pkthdr.len;
 
+       m->m_pkthdr.rdomain = sc->sc_if.if_rdomain;
+
        if ((err = ip_output(m, NULL, NULL, IP_RAWOUTPUT, &sc->sc_imo, NULL))) {
                pflowstats.pflow_oerrors++;
                sc->sc_if.if_oerrors++;

Reply via email to