Source-Changes-HG archive

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

[src/trunk]: src/sys/net call pfil_list_add with the right flag, to ensure it...



details:   https://anonhg.NetBSD.org/src/rev/93b4508bd071
branches:  trunk
changeset: 473757:93b4508bd071
user:      mrg <mrg%NetBSD.org@localhost>
date:      Fri Jun 18 05:59:20 1999 +0000

description:
call pfil_list_add with the right flag, to ensure it goes into the right list.
from mike%pelley.com@localhost in PR#7802.

diffstat:

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

diffs (21 lines):

diff -r 76e389987f13 -r 93b4508bd071 sys/net/pfil.c
--- a/sys/net/pfil.c    Fri Jun 18 05:58:25 1999 +0000
+++ b/sys/net/pfil.c    Fri Jun 18 05:59:20 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfil.c,v 1.7 1998/03/19 15:45:30 mrg Exp $     */
+/*     $NetBSD: pfil.c,v 1.8 1999/06/18 05:59:20 mrg Exp $     */
 
 /*
  * Copyright (c) 1996 Matthew R. Green
@@ -79,9 +79,9 @@
                pfil_init();
 
        if (flags & PFIL_IN)
-               pfil_list_add(&pfil_in_list, func, flags);
+               pfil_list_add(&pfil_in_list, func, PFIL_IN);
        if (flags & PFIL_OUT)
-               pfil_list_add(&pfil_out_list, func, flags);
+               pfil_list_add(&pfil_out_list, func, PFIL_OUT);
 }
 
 static void



Home | Main Index | Thread Index | Old Index