Skip to content

Commit

Permalink
Revert "interfaces-plugin: change state name set return for NULL name"
Browse files Browse the repository at this point in the history
This reverts commit d55c8ca.
  • Loading branch information
andrej committed Dec 9, 2022
1 parent c5685ec commit 85310bd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ int interfaces_interface_state_hash_element_set_name(interfaces_interface_state_
return (*el)->state.name == NULL;
}

return -1;
return 0;
}

void interfaces_interface_state_hash_element_set_state(interfaces_interface_state_hash_element_t** el, const uint8_t state)
Expand Down

0 comments on commit 85310bd

Please sign in to comment.