ubus: always trigger an update if interface is not found
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 27 Feb 2019 10:10:29 +0000 (11:10 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 27 Feb 2019 10:47:12 +0000 (11:47 +0100)
commit16c5b6c9bcb71bb67a6ab15bb458bf9ab5a8fe7e
tree335fbeb00de107d1fde248a2e2e8d173168068ab
parent9e9389c9c6ebd29d61fd35c563c365195d263848
ubus: always trigger an update if interface is not found

Commit 9f25dd8af76dc30e54ddcbb4a284058e598951d5 changed the logic of
handle_update by only triggering an update if the interface is
found in the interface list and is not set as to be ignored.
However this breaks the behavior of loading the dhcp config for
interfaces which were previously not yet known by netifd and as
result were not yet created in the interface list.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/ubus.c