summaryrefslogtreecommitdiff
path: root/lib/buffer.c
diff options
context:
space:
mode:
authoranlan_cs <vic.lan@pica8.com>2023-01-11 08:44:46 +0800
committeranlan_cs <vic.lan@pica8.com>2023-01-19 09:30:49 +0800
commit927c633dd9813703534ec8d4bed20f1461e044f8 (patch)
tree165fa54ded2c8ee1a283038beca88dbff8b35f61 /lib/buffer.c
parenta8adf1b3cb313490a3f2ef5c03256e04546e0de4 (diff)
lib: show "(null)" for empty IP address
Use "(null)" for empty IP address. One example in `bgp_zebra_send_remote_macip()` to install mac: Before: ``` 2023/01/18 02:09:09 BGP: [SCHS5-AK960] Tx ADD MACIP, VNI 200 MAC 06:6b:7c:db:83:72 IP flags 0x0 seq 0 remote VTEP 88.88.88.88 esi - ``` After: ``` 2023/01/18 20:19:57 BGP: [SCHS5-AK960] Tx ADD MACIP, VNI 200 MAC 06:6b:7c:db:83:72 IP (null) flags 0x0 seq 0 remote VTEP 88.88.88.88 esi - ``` Signed-off-by: anlan_cs <vic.lan@pica8.com>
Diffstat (limited to 'lib/buffer.c')
0 files changed, 0 insertions, 0 deletions