]> git.ipfire.org Git - thirdparty/iproute2.git/commit
ROSE: Print decoded addresses rather than hex numbers.
authorRalf Baechle <ralf@linux-mips.org>
Sun, 19 Sep 2021 13:30:26 +0000 (15:30 +0200)
committerDavid Ahern <dsahern@kernel.org>
Fri, 24 Sep 2021 02:02:51 +0000 (20:02 -0600)
commite2cc9840eaef3e6676c3e828664f9d0d452248eb
treefc86d66730921eea4ebe37889fbb9104c3d90821
parent26c5782fab317486f189adff77885c6f18948248
ROSE: Print decoded addresses rather than hex numbers.

NETROM is a OSI layer 3 protocol sitting on top of AX.25.  It uses BCD-
encoded 10 digit telephone numbers as addresses.  Without this ip will
print a ROSE addresses like

  link/rose 12:34:56:78:90 brd 00:00:00:00:00

which is readable but ugly.  With this applied it ROSE addresses will be
printed as

  link/rose 1234567890 brd 0000000000

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David Ahern <dsahern@kernel.org>
lib/ll_addr.c