summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/lldp-port.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libsystemd-network/lldp-port.c')
-rw-r--r--src/libsystemd-network/lldp-port.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/lldp-port.c b/src/libsystemd-network/lldp-port.c
index 12b72eedc7..aa6a3b9224 100644
--- a/src/libsystemd-network/lldp-port.c
+++ b/src/libsystemd-network/lldp-port.c
@@ -83,7 +83,7 @@ void lldp_port_free(lldp_port *p) {
}
int lldp_port_new(int ifindex,
- char *ifname,
+ const char *ifname,
const struct ether_addr *addr,
void *userdata,
lldp_port **ret) {