Fix all pointer-sign warnings generated when compiling libifconfig. One of these warnings comes from the misuse of snl_add_msg_attr_string for a byte array. Though userland treats carpr_key as a string, it is actually an array of bytes. Handle it as such in libifconfig. While here, fix a small consistency nit in ifconfig_sfp_get_sfp_dump. Signed-off-by: Ryan Moeller <rmoeller.dev@gmail.com> Reviewed by: imp, zlei Pull Request: https://github.com/freebsd/freebsd-src/pull/1850 (cherry picked from commit 20cd1b475a1ef9dfca30726999aa1b9a02d5bc39) |
||
|---|---|---|
| .. | ||
| libifconfig.c | ||
| libifconfig.h | ||
| libifconfig_bridge.c | ||
| libifconfig_carp.c | ||
| libifconfig_inet.c | ||
| libifconfig_inet6.c | ||
| libifconfig_internal.c | ||
| libifconfig_internal.h | ||
| libifconfig_lagg.c | ||
| libifconfig_media.c | ||
| libifconfig_nl.c | ||
| libifconfig_sfp.c | ||
| libifconfig_sfp.h | ||
| libifconfig_sfp_tables.tpl.c | ||
| libifconfig_sfp_tables.tpl.h | ||
| libifconfig_sfp_tables_internal.tpl.h | ||
| Makefile | ||
| Makefile.depend | ||
| sfp.lua | ||
| Symbol.map | ||