summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
Diffstat (limited to 'proto')
-rw-r--r--proto/ospf/packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/packet.c b/proto/ospf/packet.c
index b819c4a..888fa66 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)
{