summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/sd-dhcp-server.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-26 22:47:53 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-26 22:47:53 +0200
commit89ca10c6a61309d84d54c5dc5a295387ce39e610 (patch)
tree41f38b442a9583d946ca73f1a0848585fb782271 /src/libsystemd-network/sd-dhcp-server.c
parent0ae0e5cd96813bacad43a39920a043d8d20a67db (diff)
network: s/user_data/userdata/
Everywhere else we call the generic user data pointer just "userdata", rather than "user_data". Let's do this here, too.
Diffstat (limited to 'src/libsystemd-network/sd-dhcp-server.c')
-rw-r--r--src/libsystemd-network/sd-dhcp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/sd-dhcp-server.c b/src/libsystemd-network/sd-dhcp-server.c
index e2cd52ac0c..df74d9f3ae 100644
--- a/src/libsystemd-network/sd-dhcp-server.c
+++ b/src/libsystemd-network/sd-dhcp-server.c
@@ -551,8 +551,8 @@ static int server_send_forcerenew(sd_dhcp_server *server, be32_t address,
}
static int parse_request(uint8_t code, uint8_t len, const uint8_t *option,
- void *user_data) {
- DHCPRequest *req = user_data;
+ void *userdata) {
+ DHCPRequest *req = userdata;
assert(req);