From 9baece57d308d9e0d8eaab9d068471e1884817b8 Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Thu, 8 Jul 2004 16:56:49 +0000 Subject: Syntax bugfix. --- proto/ospf/packet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'proto/ospf/packet.c') diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c index b819c4a9..888fa666 100644 --- a/proto/ospf/packet.c +++ b/proto/ospf/packet.c @@ -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) { -- cgit v1.2.3