]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: fix 4-byte AS display in bestpath-from-AS 1261/head
authorDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 27 Sep 2017 16:07:24 +0000 (16:07 +0000)
committerDaniel Walton <dwalton@cumulusnetworks.com>
Wed, 27 Sep 2017 16:07:24 +0000 (16:07 +0000)
commitfb2b09347d529a3c1dac7c7a99ae477be691d80f
treef5186d90b6f851d0e81189c50e8281e9ba29c8c8
parent40acdd93b22f062edffd48a6c4101dd940959b7c
bgpd: fix 4-byte AS display in bestpath-from-AS

Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com>
Before
======
cel-redxp-10# show ip bgp 20.1.3.0/24
BGP routing table entry for 20.1.3.0/24
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  top1(10.1.1.2) bottom0(20.1.2.2)
  4294967292
    20.1.2.2 from bottom0(20.1.2.2) (20.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, external,
bestpath-from-AS -4, best
      Community: 99:1
      AddPath ID: RX 0, TX 92
      Last update: Wed Sep 27 16:02:34 2017

cel-redxp-10#

After
=====
cel-redxp-10# show ip bgp 20.1.3.0/24
BGP routing table entry for 20.1.3.0/24
Paths: (1 available, best #1, table Default-IP-Routing-Table)
  Advertised to non peer-group peers:
  bottom0(20.1.2.2)
  4294967292
    20.1.2.2 from bottom0(20.1.2.2) (20.1.1.1)
      Origin IGP, metric 0, localpref 100, valid, external,
bestpath-from-AS 4294967292, best
      Community: 99:1
      AddPath ID: RX 0, TX 2
      Last update: Wed Sep 27 16:07:09 2017

cel-redxp-10#
bgpd/bgp_route.c