Syntax bugfix.

This commit is contained in:
Ondrej Filip 2004-07-08 16:56:49 +00:00
parent 69b27ed6fd
commit 9baece57d3

View file

@ -48,7 +48,7 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
char password[OSPF_AUTH_CRYPT_SIZE];
pkt->autype = htons(ifa->autype);
bzero(pkt->u, sizeof(union ospf_auth));
bzero(&pkt->u, sizeof(union ospf_auth));
switch(ifa->autype)
{