]> git.ozlabs.org Git - ppp.git/blobdiff - pppd/plugins/pppol2tp/pppol2tp.c
Fix for CLang -Wformat-overflow warning, expand the destination array to fit a number.
[ppp.git] / pppd / plugins / pppol2tp / pppol2tp.c
index f22568df5a0eea48ed64ef1e9bb75e38d21dcca5..ed2d7c7942a11db2ac6eb8152d0ad87507bf2886 100644 (file)
@@ -207,8 +207,8 @@ static void send_config_pppol2tp(int mtu,
        int on = 1;
        int fd;
        char reorderto[16];
-       char tid[8];
-       char sid[8];
+       char tid[12];
+       char sid[12];
 
        if (pppol2tp_ifname[0]) {
                struct ifreq ifr;