diff options
author | Toke Høiland-Jørgensen <toke@toke.dk> | 2022-04-22 17:04:56 +0200 |
---|---|---|
committer | Ondrej Zajicek (work) <santiago@crfreenet.org> | 2022-04-22 17:04:56 +0200 |
commit | d8298001389f021f68ead1ed2b4809edb60ae416 (patch) | |
tree | 609dc0f5290e7047705b19c49a2caba7bbcdb75e /proto/babel/packets.c | |
parent | 4aef70136d8bae68e171fa7178889e6ad9fff9b8 (diff) |
Babel: Fix compilation when LOCAL_DEBUG is set in packets.c
The debug output was not updated with the rest of the code, so packets.c
fails to compile if LOCAL_DEBUG is set.
Diffstat (limited to 'proto/babel/packets.c')
-rw-r--r-- | proto/babel/packets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto/babel/packets.c b/proto/babel/packets.c index f13410e2..2647a79f 100644 --- a/proto/babel/packets.c +++ b/proto/babel/packets.c @@ -2011,7 +2011,7 @@ babel_auth_sign(struct babel_iface *ifa, ip_addr dest) } DBG("Added MAC signatures (%d bytes) on ifa %s for dest %I\n", - tot_len, ifa->ifname, dest); + pos - (pkt + len), ifa->ifname, dest); return pos - (pkt + len); } |