diff options
author | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-25 17:22:37 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2018-10-25 17:22:37 +0200 |
commit | 0ac9cb2c1f6592290e025f61ccd0fef0dc09de46 (patch) | |
tree | de13ebe898fce50ac9ac01bde639f9523923e630 /proto/ospf/hello.c | |
parent | df50598f1c285a5e2820b7427998c6ebf86bbbec (diff) |
OSPF: Fix some trace messages
Missing argument in MTU change trace message can crash bird when MTU
change happens and trace messages are active.
Thanks to Alexander Velkov for the bugreport.
Diffstat (limited to 'proto/ospf/hello.c')
-rw-r--r-- | proto/ospf/hello.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/ospf/hello.c b/proto/ospf/hello.c index 523c24ad..9e427c4f 100644 --- a/proto/ospf/hello.c +++ b/proto/ospf/hello.c @@ -290,7 +290,7 @@ ospf_receive_hello(struct ospf_packet *pkt, struct ospf_iface *ifa, if (!ipa_equal(faddr, n->ip)) { OSPF_TRACE(D_EVENTS, "Neighbor %R on %s changed IP address to %I", - n->rid, ifa->ifname, n->ip, faddr); + n->rid, ifa->ifname, faddr); n->ip = faddr; } } |