0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-22 17:51:53 +00:00

Multiple "hton problems" fixed. Now we're in EXSTART state.

This commit is contained in:
Ondrej Filip 1999-08-09 18:59:37 +00:00
parent 2be22ddb4c
commit a7d388d23e

View File

@ -649,15 +649,15 @@ hello_timer_hook(timer *timer)
pkt->options=ifa->options;
pkt->priority=ifa->priority;
pkt->deadint=htonl(ifa->deadc*ifa->helloint);
pkt->dr=ifa->drid;
pkt->bdr=ifa->bdrid;
pkt->dr=htonl(ifa->drid);
pkt->bdr=htonl(ifa->bdrid);
/* Fill all neighbors */
i=0;
pp=(u32 *)(((byte *)pkt)+sizeof(struct ospf_hello_packet));
WALK_LIST (neigh, ifa->neigh_list)
{
*(pp+i)=neigh->rid;
*(pp+i)=htonl(neigh->rid);
i++;
}