lldp: let lldp_neighbor_new() also create invalid objects
authorThomas Haller <thaller@redhat.com>
Fri, 11 Mar 2016 12:47:17 +0000 (13:47 +0100)
committerThomas Haller <thaller@redhat.com>
Thu, 17 Mar 2016 14:00:48 +0000 (15:00 +0100)
commit9c5265621c149727a8e40db3a86104e528dfd9fe
treece6c799c865f736b438e08e67e82b0f6d3306fff
parent1497b7eaf8253c87fdec889699acff9d8f811520
lldp: let lldp_neighbor_new() also create invalid objects

When we receive an update for a certain neighbor, the update
might be invalid and we want to reject it. However, we still
must create an invalid object to compare whether the update
causes a remove of a previously valid neighbor.

Let lldp_neighbor_new() create an instance as long as the
id fields are present.
src/devices/nm-lldp-listener.c