summaryrefslogtreecommitdiff
path: root/src/systemd
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-06-02 17:46:56 +0200
committerLennart Poettering <lennart@poettering.net>2016-06-06 19:59:08 +0200
commit8a19206d1bb4cde80defaa3f183b704e95782247 (patch)
treeffab849f0ebe4879fffd1fb6c872e7d8d0dd0b69 /src/systemd
parentfc6a313b5b836a8642a47348272d7883e1b9349d (diff)
lldp: clarify that sd_lldp_neighbor_get_ttl() returns seconds
Let's simply encode this in the parameter name.
Diffstat (limited to 'src/systemd')
-rw-r--r--src/systemd/sd-lldp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/systemd/sd-lldp.h b/src/systemd/sd-lldp.h
index 8f096c1b99..f9b79a0c40 100644
--- a/src/systemd/sd-lldp.h
+++ b/src/systemd/sd-lldp.h
@@ -155,7 +155,7 @@ int sd_lldp_neighbor_get_chassis_id(sd_lldp_neighbor *n, uint8_t *type, const vo
int sd_lldp_neighbor_get_chassis_id_as_string(sd_lldp_neighbor *n, const char **ret);
int sd_lldp_neighbor_get_port_id(sd_lldp_neighbor *n, uint8_t *type, const void **ret, size_t *size);
int sd_lldp_neighbor_get_port_id_as_string(sd_lldp_neighbor *n, const char **ret);
-int sd_lldp_neighbor_get_ttl(sd_lldp_neighbor *n, uint16_t *ret);
+int sd_lldp_neighbor_get_ttl(sd_lldp_neighbor *n, uint16_t *ret_sec);
int sd_lldp_neighbor_get_system_name(sd_lldp_neighbor *n, const char **ret);
int sd_lldp_neighbor_get_system_description(sd_lldp_neighbor *n, const char **ret);
int sd_lldp_neighbor_get_port_description(sd_lldp_neighbor *n, const char **ret);