]> git.ipfire.org Git - thirdparty/iproute2.git/commit
lib: utils: move over `print_num` from ip/
authorDavid Lamparter <equinox@diac24.net>
Fri, 4 Oct 2024 09:30:14 +0000 (11:30 +0200)
committerDavid Ahern <dsahern@kernel.org>
Sat, 5 Oct 2024 17:48:11 +0000 (17:48 +0000)
commit031922c8a302d86d928c5083a9b7732a58e5f5d5
tree84e643725b13cfd3e03f45a7cb243214116de1c7
parent9dafac4fdd3d0104d1539c271496e927aef7eb98
lib: utils: move over `print_num` from ip/

`print_num()` was born in `ip/ipaddress.c` but considering it has
nothing to do with IP addresses it should really live in `lib/utils.c`.

(I've had reason to call it from bridge/* on some random hackery.)

Signed-off-by: David Lamparter <equinox@diac24.net>
Signed-off-by: David Ahern <dsahern@kernel.org>
include/utils.h
ip/ip.c
ip/ip_common.h
ip/ipaddress.c
lib/utils.c
tc/tc.c
tc/tc_common.h