eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 5e31b194e2049d673ab5911766070fff91889ef5
parent 42f5d905b14e6ff490e32da37b4fa4156cfadd2f
Author: Marcel Holtmann <marcel@holtmann.org>
Date:   Fri,  7 Dec 2018 09:04:36 +0100

monitor: List all enum values in switch statement

Diffstat:
Mmonitor/nlmon.c | 15++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/monitor/nlmon.c b/monitor/nlmon.c @@ -3650,7 +3650,20 @@ static void print_value(int indent, const char *label, enum attr_type type, if (len != 4) printf("malformed packet\n"); break; - default: + case ATTR_UNSPEC: + case ATTR_FLAG: + case ATTR_U8: + case ATTR_U64: + case ATTR_S8: + case ATTR_S32: + case ATTR_S64: + case ATTR_STRING: + case ATTR_ADDRESS: + case ATTR_BINARY: + case ATTR_NESTED: + case ATTR_ARRAY: + case ATTR_FLAG_OR_U16: + case ATTR_CUSTOM: print_attr(indent, "%s: len %u", label, len); print_hexdump(indent + 1, buf, len); break;