Hello,

I will test and apply the patch.

Thanks.

2016-03-21 16:23 GMT-03:00 Sven-Haegar Koch <hae...@sdinet.de>:

> Hallo,
>
> The following patch should fix this:
>
> (I had the exact same problems with the OpenVPN interface names in use
> here, for example vhamburg for a link to hamburg)
>
> diff -ur ethstatus-0.4.5/ethstatus.c ethstatus-0.4.5+sdinetH1/ethstatus.c
> --- ethstatus-0.4.5/ethstatus.c 2006-10-20 00:09:56.000000000 +0200
> +++ ethstatus-0.4.5+sdinetH1/ethstatus.c        2016-03-21
> 20:16:05.983431525 +0100
> @@ -636,7 +644,7 @@
>                                 break;
>
>                         case 'i':
> -                               if(strlen(optarg) > 5)
> +                               if(strlen(optarg) > IFNAMSIZ)
>                                 {
>                                         show_usage(argv[0]);
>                                         exit(10);
>
> c'ya
> sven-haegar
>
> --
> Three may keep a secret, if two of them are dead.
> - Ben F.
>



-- 
Marcio de Souza Oliveira
http://www.respirandoti.com.br
-----------------------------------------------------------------------------------------------
Cansou de vírus, pragas virtuais, travamentos e falta de desempenho?
O melhor anti vírus é usar Linux :)
Debian (http://www.debian.org/)

Reply via email to