]> git.baikalelectronics.ru Git - kernel.git/commit
l2tp: Refactor the codes with existing macros instead of literal number
authorGao Feng <fgao@ikuai8.com>
Sat, 20 Aug 2016 15:52:27 +0000 (23:52 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Aug 2016 22:22:48 +0000 (15:22 -0700)
commitfa755478f3f8aabe18a351908e96b58f43e16e79
treee3af3c759b992abfbbf153962625e0ceb0a07a2b
parent938091630394e7f012d3ea4a69890af15d95f426
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>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c