Source-Changes-HG archive

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

[src/trunk]: src/usr.sbin/mopd/common Fix Linux pfInit() parameter order for ...



details:   https://anonhg.NetBSD.org/src/rev/df4e3d081ea1
branches:  trunk
changeset: 945369:df4e3d081ea1
user:      abs <abs%NetBSD.org@localhost>
date:      Tue Oct 27 17:07:14 2020 +0000

description:
Fix Linux pfInit() parameter order for mopd

>From dreamlayers

diffstat:

 usr.sbin/mopd/common/pf-linux2.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 40d7aade942e -r df4e3d081ea1 usr.sbin/mopd/common/pf-linux2.c
--- a/usr.sbin/mopd/common/pf-linux2.c  Tue Oct 27 15:28:01 2020 +0000
+++ b/usr.sbin/mopd/common/pf-linux2.c  Tue Oct 27 17:07:14 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pf-linux2.c,v 1.1 2016/06/08 01:11:49 christos Exp $   */
+/*     $NetBSD: pf-linux2.c,v 1.2 2020/10/27 17:07:14 abs Exp $        */
 
 /*
  * General Purpose AppleTalk Packet Filter Interface
@@ -23,7 +23,7 @@
  */
 
 #include "port.h"
-__RCSID("$NetBSD: pf-linux2.c,v 1.1 2016/06/08 01:11:49 christos Exp $");
+__RCSID("$NetBSD: pf-linux2.c,v 1.2 2020/10/27 17:07:14 abs Exp $");
 
 /*
  * include header files
@@ -86,7 +86,7 @@
 
 
 int
-pfInit(char *interface, u_short protocol, int typ, int mode)
+pfInit(char *interface, int mode, u_short protocol, int typ)
 {
   int s;
   int ioarg;



Home | Main Index | Thread Index | Old Index