diff options
| author | Renato Westphal <renato@opensourcerouting.org> | 2017-03-18 17:05:35 -0300 |
|---|---|---|
| committer | Renato Westphal <renato@opensourcerouting.org> | 2017-03-20 21:42:14 -0300 |
| commit | f2725627317af322faa926fb9098e0adb9c60ae4 (patch) | |
| tree | 88b66cdf67de552d40fa2643c1461d62dd9183c5 /lib/ns.c | |
| parent | 99cfc17f76c5a87ea51bd6a4682f37abae9aba25 (diff) | |
ldpd: change the sorting algorithm of adjacencies
Now the "show mpls ldp discovery" command will display all LDP
adjancencies sorted by address family, neighbor ID and then type (link
or targeted).
Example:
vtysh# show mpls ldp discovery
AF ID Type Source Holdtime
ipv4 3.3.3.3 Link rt2-eth1 15
ipv4 3.3.3.3 Link rt2-eth2 15
ipv4 4.4.4.4 Link rt2-eth1 15
ipv6 1.1.1.1 Link rt2-eth0 15
ipv6 3.3.3.3 Link rt2-eth1 15
ipv6 3.3.3.3 Link rt2-eth2 15
ipv6 4.4.4.4 Link rt2-eth1 15
Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
Diffstat (limited to 'lib/ns.c')
0 files changed, 0 insertions, 0 deletions
