l2tp: Refactor the codes with existing macros instead of literal number
authorGao Feng <fgao@ikuai8.com>
Mon, 22 Aug 2016 14:50:02 +0000 (22:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 23 Aug 2016 23:49:57 +0000 (16:49 -0700)
commit54c151d9ed1321e6e623c80ffe42cd2eb1571744
tree27cf2a94475b391270b0e909acf4a9cefd7c1c42
parentc74db31f796d283770ff3c150d73101b38037da4
l2tp: Refactor the codes with existing macros instead of literal number

Use PPP_ALLSTATIONS, PPP_UI, and SEND_SHUTDOWN instead of 0xff,
0x03, and 2 separately.

Signed-off-by: Gao Feng <fgao@ikuai8.com>
Acked-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c