summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2015-07-06 11:35:12 +0200
committerTom Gundersen <teg@jklm.no>2015-07-06 11:35:12 +0200
commit2f75af03c9a1e98ff0f6b2752b61ada7079f0752 (patch)
tree03416becebcf0e71191f27ff52b621effd8f248d
parentb5070ab9d0956ac3482262b17b20696b0f24622f (diff)
parent9bb1bffe3018aef5e70c411f68863eafdc92fddf (diff)
Merge pull request #443 from ssahani/lldp
lldp: set correct state for processing
-rw-r--r--src/libsystemd-network/sd-lldp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/libsystemd-network/sd-lldp.c b/src/libsystemd-network/sd-lldp.c
index fddda97f52..6a2c05185d 100644
--- a/src/libsystemd-network/sd-lldp.c
+++ b/src/libsystemd-network/sd-lldp.c
@@ -133,8 +133,6 @@ static int lldp_receive_frame(sd_lldp *lldp, tlv_packet *tlv) {
lldp->statistics.stats_frames_in_total ++;
- return 0;
-
out:
if (r < 0)
log_lldp("Receive frame failed: %s", strerror(-r));