summaryrefslogtreecommitdiffstats
path: root/proto/ospf/neighbor.c
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2000-03-29 14:32:25 +0200
committerOndrej Filip <feela@network.cz>2000-03-29 14:32:25 +0200
commit04c6319a630e9e18bc45da5e5b1c1f11d726c261 (patch)
tree43ef043f4f9c984517f1a6c0aefb36f59e2c9132 /proto/ospf/neighbor.c
parent0a06a9b8b3dbd59c850303c49eea97c12e1ac0ff (diff)
downloadbird-04c6319a630e9e18bc45da5e5b1c1f11d726c261.tar
bird-04c6319a630e9e18bc45da5e5b1c1f11d726c261.zip
IMMS reverted to bits. Outgoing packets dumping added.
Cisco does not set inteface MTU. Hmm....
Diffstat (limited to 'proto/ospf/neighbor.c')
-rw-r--r--proto/ospf/neighbor.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/proto/ospf/neighbor.c b/proto/ospf/neighbor.c
index 20c2f3c..3f9b0eb 100644
--- a/proto/ospf/neighbor.c
+++ b/proto/ospf/neighbor.c
@@ -159,7 +159,10 @@ tryadj(struct ospf_neighbor *n, struct proto *p)
n->dds=random_u32();
}
n->dds++;
- n->myimms=(DBDES_MS | DBDES_M | DBDES_I );
+ n->myimms.byte=0;
+ n->myimms.bit.ms=1;
+ n->myimms.bit.m=1;
+ n->myimms.bit.i=1;
tm_start(n->ifa->rxmt_timer,1); /* Or some other number ? */
}