commit | 1238e1ed6249523920bfd13cca1d902b2187c1bb | [log] [tgz] |
---|---|---|
author | Tiago Barros <tiago.barros@cesar.org.br> | Thu Mar 08 14:50:43 2018 -0300 |
committer | Claudio Takahasi <ckt@cesar.org.br> | Thu Mar 08 16:43:38 2018 -0300 |
tree | af192f1a771eae98cb0acfab9bc2e1d4be223771 | |
parent | efb9c6d69fa75338b6e683b0625fa1e3289090a8 [diff] |
Handle KNOT_MSG_UNREGISTER_REQ message on STATE_ONLINE and STATE_RUNNING states.
diff --git a/src/knot_thing_protocol.c b/src/knot_thing_protocol.c index cb01384..301a6e4 100644 --- a/src/knot_thing_protocol.c +++ b/src/knot_thing_protocol.c
@@ -451,6 +451,10 @@ } break; + case KNOT_MSG_UNREGISTER_REQ: + handle_unregister(); + break; + default: /* Invalid command, ignore */ break;