summaryrefslogtreecommitdiff
path: root/lib/xref.h
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-05 15:05:04 +0200
committerDonatas Abraitis <donatas.abraitis@gmail.com>2022-01-07 22:35:38 +0200
commit202a171144d2c4735c5ca199bce5adda89272e11 (patch)
tree9ae626e4996b187cf29245e399f4ec79c35686ac /lib/xref.h
parentb776f48c3658d9c3aae1034883a4a20ab40fa2bb (diff)
bgpd: Use correct encoding before printing shutdown msg
Using `bgp shutdown message MSG...`. Length should be decoded from the first byte, but it's decoded from the data instead. Before: ``` %NOTIFICATION: sent to neighbor 192.168.0.2 6/2 (Cease/Administratively Shutdown) 70 bytes 5b 54 49 43 4b 45 54 2d 31 2d 31 34 33 38 33 36 37 33 39 30 5d 20 73 ``` After: ``` %NOTIFICATION: sent to neighbor 192.168.0.2 6/2 (Cease/Administratively Shutdown) "[TICKET-1-1438367390] software upgrade; Expected downtime for 2 hours;" ``` On receiving side: ``` "[TICKET-1-1438367390] software upgrade; Expected downtime for 2 hours;" ``` Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
Diffstat (limited to 'lib/xref.h')
0 files changed, 0 insertions, 0 deletions