History

ppp: Fix PPPIOCUNBRIDGECHAN request number

PPPIOCGL2TPSTATS already uses 54. This shouldn't be a problem in practice, but let's keep the logical decreasing assignment scheme.

Guillaume Nault committed 5 years ago

Commit bcce55f1 parent 8df66af1 file · +1 −1Browse files

Showing the changes to include/uapi/linux (1 of 1 file). Show all

Unified · Split

include/uapi/linux/ppp-ioctl.h+1−1
@@ -116,7 +116,7 @@ struct pppol2tp_ioc_stats { · 115 unmodified lines
116116 #define PPPIOCGCHAN _IOR('t', 55, int) /* get ppp channel number */
117117 #define PPPIOCGL2TPSTATS _IOR('t', 54, struct pppol2tp_ioc_stats)
118118 #define PPPIOCBRIDGECHAN _IOW('t', 53, int) /* bridge one channel to another */
119−#define PPPIOCUNBRIDGECHAN _IO('t', 54) /* unbridge channel */
119+#define PPPIOCUNBRIDGECHAN _IO('t', 52) /* unbridge channel */
120120
121121 #define SIOCGPPPSTATS (SIOCDEVPRIVATE + 0)
122122 #define SIOCGPPPVER (SIOCDEVPRIVATE + 1) /* NEVER change this!! */