Source-Changes-HG archive

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

[src/trunk]: src/sys/net Fix l2tp(4) ioctl type. Pointed out by yamaguchi@n.o...



details:   https://anonhg.NetBSD.org/src/rev/8d9068bfbc2d
branches:  trunk
changeset: 1019626:8d9068bfbc2d
user:      knakahara <knakahara%NetBSD.org@localhost>
date:      Tue Mar 16 07:00:38 2021 +0000

description:
Fix l2tp(4) ioctl type. Pointed out by yamaguchi@n.o, thanks.

XXX pullup-[89]

diffstat:

 sys/net/if_l2tp.h |  12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diffs (26 lines):

diff -r 6275da8969c4 -r 8d9068bfbc2d sys/net/if_l2tp.h
--- a/sys/net/if_l2tp.h Mon Mar 15 20:18:21 2021 +0000
+++ b/sys/net/if_l2tp.h Tue Mar 16 07:00:38 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: if_l2tp.h,v 1.9 2020/02/01 02:58:05 riastradh Exp $    */
+/*     $NetBSD: if_l2tp.h,v 1.10 2021/03/16 07:00:38 knakahara Exp $   */
 
 /*
  * Copyright (c) 2017 Internet Initiative Japan Inc.
@@ -44,11 +44,11 @@
 #include <net/if_ether.h>
 #include <netinet/in.h>
 
-#define        SIOCSL2TPSESSION        _IOW('i', 151, struct l2tp_req)
-#define        SIOCDL2TPSESSION        _IOW('i', 152, struct l2tp_req)
-#define        SIOCSL2TPCOOKIE         _IOW('i', 153, struct l2tp_req)
-#define        SIOCDL2TPCOOKIE         _IOW('i', 154, struct l2tp_req)
-#define        SIOCSL2TPSTATE          _IOW('i', 155, struct l2tp_req)
+#define        SIOCSL2TPSESSION        _IOW('i', 151, struct ifreq)
+#define        SIOCDL2TPSESSION        _IOW('i', 152, struct ifreq)
+#define        SIOCSL2TPCOOKIE         _IOW('i', 153, struct ifreq)
+#define        SIOCDL2TPCOOKIE         _IOW('i', 154, struct ifreq)
+#define        SIOCSL2TPSTATE          _IOW('i', 155, struct ifreq)
 #define        SIOCGL2TP               SIOCGIFGENERIC
 
 struct l2tp_req {



Home | Main Index | Thread Index | Old Index