X-Git-Url: http://git.sameswireless.fr/l2tpns.git/blobdiff_plain/8f944eeb2197070c98c0e98b92d95cf3d35fdf67..4344f5e9c73e2ac36b67e72a400114063f037031:/l2tpns.h?ds=sidebyside diff --git a/l2tpns.h b/l2tpns.h index 26928d1..b9a0714 100644 --- a/l2tpns.h +++ b/l2tpns.h @@ -616,6 +616,10 @@ struct Tstats #define SET_STAT(x, y) #endif +#ifndef IFNAMSIZ +# define IFNAMSIZ 16 +#endif + typedef struct { int debug; // debugging level @@ -631,7 +635,7 @@ typedef struct int reload_config; // flag to re-read config (set by cli) int multi_read_count; // amount of packets to read per fd in processing loop - char tundevice[10]; // tun device name + char tundevice[IFNAMSIZ]; // tun device name char log_filename[128]; char l2tp_secret[64]; // L2TP shared secret