diff options
author | Michele Marchetto <michele@cvs.openbsd.org> | 2007-03-21 19:33:49 +0000 |
---|---|---|
committer | Michele Marchetto <michele@cvs.openbsd.org> | 2007-03-21 19:33:49 +0000 |
commit | 9e6877de3b929e1b747eea314af66f3e3485cee4 (patch) | |
tree | 1b42274cd8d2eb79eac2372861643a8238982f17 /usr.sbin/dvmrpd/rde.c | |
parent | 7018c85f8793aaac7aea0c4fdbcf578c9889d37b (diff) |
Added code to parse unicast routes learned from route report packets.
Now we are able to select correctly designated forwarders and downstream
dependent routers per interface.
Tested and OK norby@
Diffstat (limited to 'usr.sbin/dvmrpd/rde.c')
-rw-r--r-- | usr.sbin/dvmrpd/rde.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/dvmrpd/rde.c b/usr.sbin/dvmrpd/rde.c index 5b3cc2dd0e1..af3823f9753 100644 --- a/usr.sbin/dvmrpd/rde.c +++ b/usr.sbin/dvmrpd/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.4 2007/01/24 09:57:51 norby Exp $ */ +/* $OpenBSD: rde.c,v 1.5 2007/03/21 19:33:48 michele Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -234,7 +234,7 @@ rde_dispatch_imsg(int fd, short event, void *bula) if (imsg.hdr.peerid == 0) connected = 1; - if (rde_check_route(&rr, connected) == -1) + if (srt_check_route(&rr, connected) == -1) log_debug("rde_dispatch_imsg: " "packet malformed"); break; |