diff options
-rw-r--r-- | proto/ospf/packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |