]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit5ab1fe72d5490978104fc493615ea29dd7238766
treee3af3c759b992abfbbf153962625e0ceb0a07a2b
parent04462f2aed3960c7c1589117ffe72362a9065490
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