Fix issue #83 and implement peer description comming from openbgpd #84

Merged
emil-palm merged 1 commits from fix-issue-83-Erroneous-peer-description into master 2021-11-15 18:18:43 +08:00
emil-palm commented 2021-11-15 17:29:04 +08:00 (Migrated from github.com)

Before
Screenshot 2021-11-15 at 10 28 14
After:
Screenshot 2021-11-15 at 10 25 45

Closes #83

Before <img width="493" alt="Screenshot 2021-11-15 at 10 28 14" src="https://user-images.githubusercontent.com/103286/141756704-2632f316-98ff-404d-b1b6-623cccb248e1.png"> After: <img width="540" alt="Screenshot 2021-11-15 at 10 25 45" src="https://user-images.githubusercontent.com/103286/141756730-04f70958-fdbd-42ab-bf50-9138c28ecd92.png"> Closes #83
annikahannig commented 2021-11-15 18:17:16 +08:00 (Migrated from github.com)

Awesome! :)
Thank you!

Awesome! :) Thank you!
annikahannig (Migrated from github.com) reviewed 2021-11-15 18:18:02 +08:00
@ -63,0 +63,4 @@
} else {
addr := decoders.MapGetString(nb, "remote_addr", "invalid_address")
asn := decoders.MapGetString(nb, "remote_as", "")
return fmt.Sprintf("PEER AS%s %s", asn, addr)
annikahannig (Migrated from github.com) commented 2021-11-15 18:18:01 +08:00

technically this else is not required :)

technically this else is not required :)
annikahannig (Migrated from github.com) approved these changes 2021-11-15 18:18:22 +08:00
Sign in to join this conversation.
No description provided.