diff options
author | Beniamino Galvani <bgalvani@redhat.com> | 2015-07-10 18:43:12 +0200 |
---|---|---|
committer | Beniamino Galvani <bgalvani@redhat.com> | 2015-10-02 17:39:12 +0200 |
commit | 176c355b43e616b61552566303ad59d5fd910333 (patch) | |
tree | 9198ba7be4f24b643ef9c24b8e1d01b421fb4b3b /src/libsystemd-network/lldp-network.c | |
parent | 97030a86f0137bca52c3cf9b30e5ed3bdf69b2f2 (diff) |
lldp: export opaque TLV type and accessor functions
Export struct tlv_packet as a public opaque sd_lldp_packet type and
make its accessor functions public.
Diffstat (limited to 'src/libsystemd-network/lldp-network.c')
-rw-r--r-- | src/libsystemd-network/lldp-network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/lldp-network.c b/src/libsystemd-network/lldp-network.c index 664d2f7867..1c6dcae14d 100644 --- a/src/libsystemd-network/lldp-network.c +++ b/src/libsystemd-network/lldp-network.c @@ -84,7 +84,7 @@ int lldp_network_bind_raw_socket(int ifindex) { } int lldp_receive_packet(sd_event_source *s, int fd, uint32_t revents, void *userdata) { - _cleanup_tlv_packet_free_ tlv_packet *packet = NULL; + _cleanup_lldp_packet_unref_ tlv_packet *packet = NULL; tlv_packet *p; uint16_t length; int r; |