Syntax bugfix.
This commit is contained in:
parent
69b27ed6fd
commit
9baece57d3
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ ospf_pkt_finalize(struct ospf_iface *ifa, struct ospf_packet *pkt)
|
||||||
char password[OSPF_AUTH_CRYPT_SIZE];
|
char password[OSPF_AUTH_CRYPT_SIZE];
|
||||||
|
|
||||||
pkt->autype = htons(ifa->autype);
|
pkt->autype = htons(ifa->autype);
|
||||||
bzero(pkt->u, sizeof(union ospf_auth));
|
bzero(&pkt->u, sizeof(union ospf_auth));
|
||||||
|
|
||||||
switch(ifa->autype)
|
switch(ifa->autype)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue