[OLSR-users] Problem with hysterisis (with patch)

Andreas Tønnesen (spam-protected)
Thu Aug 26 23:02:44 CEST 2004


Yes - that looks like a nasty bug. Thank you very much!

- Andreas

Wim Bonis wrote:
> To day i was playing a little bit arround, and i found a problem which
> keeps hysteresis from working. (Every x minutes the link drops)
> 
> The Bug is there when you have only one Interface, and you have only 1
> Ip address on the interface
> 
> What happens is: The olsrd build an empty packet (which does not get
> sent out), But the sequnce->counter is already incremented.
> 
> 
> --- src/generate_msg.c.org      2004-08-26 19:24:37.679566496 +0200
> +++ src/generate_msg.c  2004-08-26 19:25:44.549435714 +0200
> @@ -318,7 +318,10 @@
>      {
>        //printf("\nSending MID seq: %i\n", ifn->seqnums.mid_seqnum);
>        mid_build(ifn);
> -      net_output(ifn);
> +      if(outputsize)
> +       {
> +         net_output(ifn);
> +       }
>      }
> 
>  return;
> 
> --
> -------------------------------------------------------------------
> Wim Bonis             ,+'^'+,                 Telefon:06301-791868
>           NetwerkAnalyse und SystemDesign       Mobil:0170-5664234
>                        +,.,+                    voip:0211-58005076
>                                            sip:(spam-protected)
> email: (spam-protected)                      Kaiserslautern/Mehlbach 
> pgp-fingerprint: 6118 C35D FE0F 5FDE D632 E8EF ECE7 EA5F 6BDB F776 
> _______________________________________________
> olsr-users mailing list
> (spam-protected)
> https://www.olsr.org/mailman/listinfo/olsr-users

-- 
Andreas Tønnesen
http://www.olsr.org



More information about the Olsr-users mailing list