diff options
author | Susant Sahani <susant@redhat.com> | 2015-07-02 09:00:02 +0530 |
---|---|---|
committer | Susant Sahani <susant@redhat.com> | 2015-07-02 09:02:11 +0530 |
commit | 9bb1bffe3018aef5e70c411f68863eafdc92fddf (patch) | |
tree | 65cdf6e028acffb7d7261baaf352d7f286e61845 /src | |
parent | 138879ccad87148cc5d805471183789a6ad688c6 (diff) |
lldp: set correct state for processing
ldp_receive_frame after correct processing of the packet the state
should be LLDP_AGENT_RX_WAIT_FOR_FRAME not LLDP_AGENT_RX_UPDATE_INFO.
Diffstat (limited to 'src')
-rw-r--r-- | src/libsystemd-network/sd-lldp.c | 2 |
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)); |