l2tp: fix PPP pseudo-wire auto-loading
authorGuillaume Nault <g.nault@alphalink.fr>
Mon, 3 Apr 2017 11:23:15 +0000 (13:23 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Apr 2017 17:08:42 +0000 (10:08 -0700)
PPP pseudo-wire type is 7 (11 is L2TP_PWTYPE_IP).

Fixes: f1f39f911027 ("l2tp: auto load type modules")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c

index 7bf73091baa224a25578dc468cb36127b68e7059..861b255a2d5195ac4155de919154d993bdaddf92 100644 (file)
@@ -1853,4 +1853,4 @@ MODULE_DESCRIPTION("PPP over L2TP over UDP");
 MODULE_LICENSE("GPL");
 MODULE_VERSION(PPPOL2TP_DRV_VERSION);
 MODULE_ALIAS_NET_PF_PROTO(PF_PPPOX, PX_PROTO_OL2TP);
-MODULE_ALIAS_L2TP_PWTYPE(11);
+MODULE_ALIAS_L2TP_PWTYPE(7);