ncp: Allow underspecification of remove command for IPV6_ADDRESS_TABLE. (#875)

For removal operations, Spinel allows you to underspecify the entry
in question by omitting any fields after the "key" field, since they
would be ignored anyway. Without this change, underspecified IPV6 address
removals will fail.
This commit is contained in:
Robert Quattlebaum
2016-10-24 14:56:01 -07:00
committed by Jonathan Hui
parent 405b89f955
commit 72fffdeff2
+2 -5
View File
@@ -4575,11 +4575,8 @@ ThreadError NcpBase::RemovePropertyHandler_IPV6_ADDRESS_TABLE(uint8_t header, sp
parsedLength = spinel_datatype_unpack(
value_ptr,
value_len,
"6CLL",
&addr_ptr,
NULL,
NULL,
NULL
"6",
&addr_ptr
);
if (parsedLength > 0)