components/quagga/patches/80-ripngd-getopt.patch
branchs11-sru
changeset 2239 f0bde9a421fe
parent 417 7c10b5cba79b
equal deleted inserted replaced
2238:cc3545c342fd 2239:f0bde9a421fe
     1 *** ripngd/ripng_main.c
     1 *** ripngd/ripng_main.c
     2 --- ripngd/ripng_main.c
     2 --- ripngd/ripng_main.c
     3 ***************
     3 @@ -205,7 +205,7 @@
     4 *** 207,213 ****
     4      {
     5       {
     5        int opt;
     6         int opt;
     6  
     7   
     7 -      opt = getopt_long (argc, argv, "df:i:hA:P:u:g:vC", longopts, 0);
     8 !       opt = getopt_long (argc, argv, "dlf:i:hA:P:u:g:vC", longopts, 0);
     8 +      opt = getopt_long (argc, argv, "df:i:hA:P:ru:g:vC", longopts, 0);
     9       
     9      
    10         if (opt == EOF)
    10        if (opt == EOF)
    11   	break;
    11  	break;
    12 --- 207,213 ----
       
    13       {
       
    14         int opt;
       
    15   
       
    16 !       opt = getopt_long (argc, argv, "dlf:i:hA:P:ru:g:vC", longopts, 0);
       
    17       
       
    18         if (opt == EOF)
       
    19   	break;