diff options
author | Ondrej Filip <feela@network.cz> | 2004-07-08 16:56:49 +0000 |
---|---|---|
committer | Ondrej Filip <feela@network.cz> | 2004-07-08 16:56:49 +0000 |
commit | 9baece57d308d9e0d8eaab9d068471e1884817b8 (patch) | |
tree | c0517856ca46993da45b10fc8cade33e31b33dee | |
parent | 69b27ed6fd7794d36852764319e4dad19d4b6f87 (diff) |
Syntax bugfix.
-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) { |