diff options
author | anlan_cs <vic.lan@pica8.com> | 2023-04-10 05:04:47 +0200 |
---|---|---|
committer | anlan_cs <vic.lan@pica8.com> | 2023-04-10 05:11:30 +0200 |
commit | fa9307852e20616ec4508d97dbf7c3acc43cd374 (patch) | |
tree | 5f1e0e4d8855cd108e516e7299ed5dd2bc97be9f /ripd | |
parent | Merge pull request #13194 from Keelan10/sharpd-memory-leak (diff) | |
download | frr-fa9307852e20616ec4508d97dbf7c3acc43cd374.tar.xz frr-fa9307852e20616ec4508d97dbf7c3acc43cd374.zip |
ripd: Correct one debug log
Correct one debug log, which wrongly mixed address and port.
Before:
```
ripd[469497]: [NDAGH-Z85V7] rip_send_packet 3.3.3.4 > 224.0.0.9 (enp1s0)
ripd[469497]: [VEJY5-67P5X] SEND to 224.0.0.9520
```
After:
```
ripd[471330]: [NDAGH-Z85V7] rip_send_packet 3.3.3.4 > 224.0.0.9 (enp1s0)
ripd[471330]: [T8DFR-P09JH] SEND to 224.0.0.9 port 520
```
Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'ripd')
-rw-r--r-- | ripd/ripd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripd/ripd.c b/ripd/ripd.c index ae4d93b4f..15e058a74 100644 --- a/ripd/ripd.c +++ b/ripd/ripd.c @@ -1500,7 +1500,7 @@ static int rip_send_packet(uint8_t *buf, int size, struct sockaddr_in *to, ret = sendmsg(rip->sock, &msg, 0); if (IS_RIP_DEBUG_EVENT) - zlog_debug("SEND to %pI4%d", &sin.sin_addr, + zlog_debug("SEND to %pI4 port %d", &sin.sin_addr, ntohs(sin.sin_port)); if (ret < 0) |