summaryrefslogtreecommitdiffstats
path: root/proto
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-07-08 18:56:49 +0200
committerOndrej Filip <feela@network.cz>2004-07-08 18:56:49 +0200
commit9baece57d308d9e0d8eaab9d068471e1884817b8 (patch)
treec0517856ca46993da45b10fc8cade33e31b33dee /proto
parent69b27ed6fd7794d36852764319e4dad19d4b6f87 (diff)
downloadbird-9baece57d308d9e0d8eaab9d068471e1884817b8.tar
bird-9baece57d308d9e0d8eaab9d068471e1884817b8.zip
Syntax bugfix.
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)
{