Author: glebius
Date: Thu Dec 22 18:51:35 2011
New Revision: 228813
URL: http://svn.freebsd.org/changeset/base/228813

Log:
  We really mean MTU of the real interface here, not of our pseudo.

Modified:
  head/sys/contrib/pf/net/if_pfsync.c

Modified: head/sys/contrib/pf/net/if_pfsync.c
==============================================================================
--- head/sys/contrib/pf/net/if_pfsync.c Thu Dec 22 18:48:21 2011        
(r228812)
+++ head/sys/contrib/pf/net/if_pfsync.c Thu Dec 22 18:51:35 2011        
(r228813)
@@ -2655,7 +2655,7 @@ pfsync_request_update(u_int32_t creatori
                nlen += sizeof(struct pfsync_subheader);
 
 #ifdef __FreeBSD__
-       if (sc->sc_len + nlen > sc->sc_ifp->if_mtu) {
+       if (sc->sc_len + nlen > sc->sc_sync_if->if_mtu) {
 #else
        if (sc->sc_len + nlen > sc->sc_if.if_mtu) {
 #endif
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to