iproute2/lib
David Ahern 8b59612f99 Fix compile warning in get_addr_1
A recent cleanup causes a compile warning on Debian jessie:

    CC       utils.o
utils.c: In function ‘get_addr_1’:
utils.c:486:21: warning: passing argument 1 of ‘ll_addr_a2n’ from incompatible pointer type
   len = ll_addr_a2n(&addr->data, sizeof(addr->data), name);
                     ^
In file included from utils.c:34:0:
../include/rt_names.h:27:5: note: expected ‘char *’ but argument is of type ‘__u32 (*)[8]’
 int ll_addr_a2n(char *lladdr, int len, const char *arg);
     ^

Revert the removal of the typecast

Fixes: e1933b9281 ("utils: cleanup style")
Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
2016-12-14 19:00:36 -08:00
..
bpf.c bpf: export bpf_prog_load 2016-12-13 10:20:15 -08:00
color.c color: introduce color helpers and COLOR_CLEAR 2016-03-27 10:37:34 -07:00
coverity_model.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
dnet_ntop.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
dnet_pton.c dnet: fix strict aliasing warnings 2010-07-23 12:30:48 -07:00
exec.c move cmd_exec to lib utils 2016-12-13 10:20:16 -08:00
fs.c Add filesystem APIs to lib 2016-12-13 10:20:16 -08:00
inet_proto.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
ipx_ntop.c scrub out whitespace issues 2016-03-27 10:50:14 -07:00
ipx_pton.c utils: provide get_hex to read a hex digit from a char 2016-06-08 09:30:41 -07:00
json_writer.c json_writer: Removed automatic json-object type from the constructor 2016-07-20 12:02:02 -07:00
libgenl.c libgenl: introduce genl_init_handle 2016-08-17 13:59:21 -07:00
libnetlink.c libnetlink: break up dump function 2016-12-13 10:41:29 -08:00
ll_addr.c lib/ll_addr: improve ll_addr_n2a() a bit 2016-03-27 10:37:35 -07:00
ll_map.c fix netlink message length checks 2016-10-09 18:48:30 -07:00
ll_proto.c utils: add get_be{16, 32, 64}, use them where possible 2016-06-08 09:30:37 -07:00
ll_types.c ip: update link types to show 6lowpan and ieee802.15.4 monitor 2016-11-12 10:14:03 +03:00
Makefile Add filesystem APIs to lib 2016-12-13 10:20:16 -08:00
mpls_ntop.c add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
mpls_pton.c add basic mpls support to iproute 2015-03-24 15:45:23 -07:00
names.c Replace malloc && memset by calloc 2016-07-20 12:05:24 -07:00
namespace.c lib/namespace: fix fd leakage in non-error case 2015-08-19 16:32:56 -07:00
rt_names.c iproute2: fix the link group name getting error 2016-11-29 12:48:07 -08:00
utils.c Fix compile warning in get_addr_1 2016-12-14 19:00:36 -08:00