Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dist/pf/net Fix a typo introduced by the bpf linkage cha...



details:   https://anonhg.NetBSD.org/src/rev/d91a373b1bac
branches:  trunk
changeset: 751047:d91a373b1bac
user:      minskim <minskim%NetBSD.org@localhost>
date:      Sat Jan 23 01:17:23 2010 +0000

description:
Fix a typo introduced by the bpf linkage change.

diffstat:

 sys/dist/pf/net/if_pfsync.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r cb4e8b6cdd70 -r d91a373b1bac sys/dist/pf/net/if_pfsync.c
--- a/sys/dist/pf/net/if_pfsync.c       Sat Jan 23 00:54:43 2010 +0000
+++ b/sys/dist/pf/net/if_pfsync.c       Sat Jan 23 01:17:23 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_pfsync.c,v 1.4 2010/01/19 22:08:00 pooka Exp $      */
+/*     $NetBSD: if_pfsync.c,v 1.5 2010/01/23 01:17:23 minskim Exp $    */
 /*     $OpenBSD: if_pfsync.c,v 1.83 2007/06/26 14:44:12 mcbride Exp $  */
 
 /*
@@ -28,7 +28,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.4 2010/01/19 22:08:00 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_pfsync.c,v 1.5 2010/01/23 01:17:23 minskim Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_inet.h"
@@ -192,7 +192,7 @@
        if_alloc_sadl(ifp);
 
        bpf_ops->bpf_attach(&pfsyncif->sc_if, DLT_PFSYNC, PFSYNC_HDRLEN,
-           &pfsyncif->sc_if->if_bpf);
+           &pfsyncif->sc_if.if_bpf);
 
        return (0);
 }



Home | Main Index | Thread Index | Old Index