PPPIOCGL2TPSTATS already uses 54. This shouldn't be a problem in practice, but let's keep the logical decreasing assignment scheme.
Showing the changes to include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -116,7 +116,7 @@ struct pppol2tp_ioc_stats { · 115 unmodified lines | ||
| 116 | 116 | #define PPPIOCGCHAN _IOR('t', 55, int) /* get ppp channel number */ |
| 117 | 117 | #define PPPIOCGL2TPSTATS _IOR('t', 54, struct pppol2tp_ioc_stats) |
| 118 | 118 | #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 */ | |
| 120 | 120 | |
| 121 | 121 | #define SIOCGPPPSTATS (SIOCDEVPRIVATE + 0) |
| 122 | 122 | #define SIOCGPPPVER (SIOCDEVPRIVATE + 1) /* NEVER change this!! */ |