diff options
author | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 12:31:50 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2011-09-11 12:31:50 +0200 |
commit | bbfa8c18c8ae086b6fd941e950c466f25c134c17 (patch) | |
tree | 208e77fd95237c1d6e525861179826d445012766 /proto-shell.c | |
parent | e32103ad7e944ccbebef4335333481e565311f5c (diff) |
move protocol flags to the handler, add a pointer to the handler in the proto state, add PROTO_FLAG_NODEV
Diffstat (limited to 'proto-shell.c')
-rw-r--r-- | proto-shell.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-shell.c b/proto-shell.c index 281debc..d014b43 100644 --- a/proto-shell.c +++ b/proto-shell.c @@ -111,7 +111,7 @@ proto_shell_attach(const struct proto_handler *h, struct interface *iface, memcpy(state->config, attr, blob_pad_len(attr)); state->proto.free = proto_shell_free; - state->proto.handler = proto_shell_handler; + state->proto.cb = proto_shell_handler; state->handler = container_of(h, struct proto_shell_handler, proto); return &state->proto; |