Hi Ondrej

In the meantime please apply my second RIP patch which fixes the same
socket issue for IPv6 as did my last patch for IPv4. See attachment.

The two patches mentioned by Goesta earlier in this thread are my
already applied IPv4 patch and this one.

Cheers,
Roman

On 02/11/11 06:36, Ondrej Zajicek wrote:
> You are right, after Roman Hoog Antink sent his patches for RIP, i
> also checked RIPng if it is possible to do some quick fix and found that
> is is broken beyond any repair and probably really never worked (at least
> as specified by RFC).
> 
> Rewrite of RIP is one of my long term plans, but had a low priority
> because of its minimal usage. It would be not so hard (as RIP is pretty
> simple protocol and most research and thinking about it i already did),
> probably worth the effort just to not bother my mind any more :-). 
> 

commit 067e4324788e73666f460c0e7a0fe66a2c7ba99b
Author: Roman Hoog Antink <r...@open.ch>
Date:   Tue Nov 1 09:39:07 2011 +1100

    Fix sockets for IPv6 RIP.

diff --git a/proto/rip/rip.c b/proto/rip/rip.c
index 1266380..d7454d7 100644
--- a/proto/rip/rip.c
+++ b/proto/rip/rip.c
@@ -712,7 +712,6 @@ new_iface(struct proto *p, struct iface *new, unsigned long flags, struct iface_
       rif->sock->daddr = ipa_from_u32(0xe0000009);
 #else
       rif->sock->daddr = ipa_build(0xff020000, 0, 0, 9);
-      rif->sock->saddr = new->addr->ip; /* Does not really work on Linux */
 #endif
     } else {
       rif->sock->daddr = new->addr->brd;

Reply via email to