Skip to content

Commit

Permalink
Fix seg fault when interface is missing a link-local address
Browse files Browse the repository at this point in the history
  • Loading branch information
Austinpayne committed Apr 7, 2021
1 parent 4bb4780 commit 24bc5bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/pim6_proto.c
Original file line number Diff line number Diff line change
Expand Up @@ -775,6 +775,9 @@ send_pim6_hello(v, holdtime)

int datalen;

if (!v->uv_linklocal)
return (FALSE);

buf = pim6_send_buf + sizeof(struct pim);
data_ptr = (u_int8 *) buf;

Expand Down

0 comments on commit 24bc5bd

Please sign in to comment.