Главная страница


ru.unix.bsd

 
 - RU.UNIX.BSD ------------------------------------------------------------------
 From : Danil Vishnevsky                     2:5020/400     05 Apr 2002  17:15:06
 To : Rashid N. Achilov
 Subject : Re: Глюк какой-то странный
 -------------------------------------------------------------------------------- 
 
 Я это вылечил таким патчем:
 
 *** /sys/netinet/in.c   Sat Mar 16 20:08:01 2002
 - --- /sys/netinet/in.c.new       Fri Apr  5 14:53:59 2002
 ***************
 *** 731,736 ****
 - --- 731,740 ----
         if ((error = rtinit(&(ia->ia_ifa), (int)RTM_ADD, flags)) == 0)
                 ia->ia_flags |= IFA_ROUTE;
 
 +       /* XXX check if the subnet route points to the same interface */
 +       if (error == EEXIST)
 +               error = 0;
 +
   #ifndef BOOTP
         /*
          * This breaks kernel-bootp support when we have more than one
 ***************
 *** 743,751 ****
         }
   #endif
 
 -       /* XXX check if the subnet route points to the same interface */
 -       if (error == EEXIST)
 -               error = 0;
 
         /*
          * If the interface supports multicast, join the "all hosts"
 - --- 747,752 ----
 "Rashid N. Achilov" <shelton@sentry.granch.ru> wrote in message
 news:1140416.enB07lcU8L@sentry.granch.ru...
 
 > Вот такое мне выдает netstat -i
 >
 > Name  Mtu   Network       Address            Ipkts Ierrs    Opkts Oerrs
 > [...skip...]
 >
 > tun0  1500  <Link#11>                       116089     0   117538     0
 > tun0  1500  none          none                   -     -        -     -
 >
 > [...skip 29 lines as above...]
 >
 > tun1* 1500  <Link#12>                        66953     0    69429     0
 > tun1* 1500  none          none                   -     -        -     -
 >
 > [...skip 250 lines as above...]
 >
 > tun2* 1500  <Link#13>                        12837     0    15540     0
 > tun2* 1500  none          none                   -     -        -     -
 >
 > [...skip 79 lines as above...]
 >
 > Это что? Это кого?
 >
 > uname -a
 > FreeBSD granch.com 4.5-STABLE FreeBSD 4.5-STABLE #6: Sun Mar 31 17:49:25
 > NOVST 2002     shelton@granch.com:/usr/src/sys/compile/Granch  i386
 
 --
 Danil Vishnevsky
 --- ifmail v.2.15dev5
  * Origin: KSF (2:5020/400)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Глюк какой-то странный   Rashid N. Achilov   02 Apr 2002 14:20:49 
 Re: Глюк какой-то странный   Danil Vishnevsky   05 Apr 2002 17:15:06 
Архивное /ru.unix.bsd/12891b5fd46b2.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional