diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-16 20:27:25 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2007-10-16 20:27:25 +0000 |
commit | b19e9b0a76dbd59970f6b23570d84ebf08dd1c66 (patch) | |
tree | 375888f0d7bf97e7146d7e70c50a7a31f5ca9176 | |
parent | b7cb82aa35961a9cabe16578225b4e2f9f9eb4ad (diff) |
Enable the IMSG_DD related code. This code starts to work.
-rw-r--r-- | usr.sbin/ospf6d/rde.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.sbin/ospf6d/rde.c b/usr.sbin/ospf6d/rde.c index b4b8a0b501f..6cc3512b6c4 100644 --- a/usr.sbin/ospf6d/rde.c +++ b/usr.sbin/ospf6d/rde.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rde.c,v 1.5 2007/10/16 12:05:52 norby Exp $ */ +/* $OpenBSD: rde.c,v 1.6 2007/10/16 20:27:24 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Claudio Jeker <claudio@openbsd.org> @@ -305,7 +305,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) break; buf = imsg.data; -#if 0 /* XXX does not work yet */ for (l = imsg.hdr.len - IMSG_HEADER_SIZE; l >= sizeof(lsa_hdr); l -= sizeof(lsa_hdr)) { memcpy(&lsa_hdr, buf, sizeof(lsa_hdr)); @@ -333,7 +332,6 @@ rde_dispatch_imsg(int fd, short event, void *bula) log_warnx("rde_dispatch_imsg: peerid %lu, " "trailing garbage in Database Description " "packet", imsg.hdr.peerid); -#endif imsg_compose(ibuf_ospfe, IMSG_DD_END, imsg.hdr.peerid, 0, NULL, 0); |