diff options
author | Lennart Poettering <lennart@poettering.net> | 2015-08-26 23:31:47 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2015-08-26 23:31:49 +0200 |
commit | b3ec603ce8053ba3f95da1d36f15ea762c83d1e1 (patch) | |
tree | 15d22f7daa967f73c0c94abea5709497bdfbfb15 /src/libsystemd-network/dhcp-server-internal.h | |
parent | 9a0f246fcdb1238e6b3397169a10095f4df89210 (diff) |
dhcp: rename index to ifindex
This avoids confusion what this is, in particular as libc knows an
index() function.
Diffstat (limited to 'src/libsystemd-network/dhcp-server-internal.h')
-rw-r--r-- | src/libsystemd-network/dhcp-server-internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd-network/dhcp-server-internal.h b/src/libsystemd-network/dhcp-server-internal.h index 52e2c9308b..74b09d6f37 100644 --- a/src/libsystemd-network/dhcp-server-internal.h +++ b/src/libsystemd-network/dhcp-server-internal.h @@ -54,7 +54,7 @@ struct sd_dhcp_server { int fd; int fd_raw; - int index; + int ifindex; be32_t address; be32_t netmask; be32_t pool_start; |