From e5c898c18407145657ab91248a0a66e5b0670dac Mon Sep 17 00:00:00 2001 From: Arran Cudbard-Bell Date: Thu, 21 Mar 2019 23:02:59 +0700 Subject: [PATCH] Fix args... again --- src/modules/proto_dhcpv4/proto_dhcpv4.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/proto_dhcpv4/proto_dhcpv4.c b/src/modules/proto_dhcpv4/proto_dhcpv4.c index 66874654c7e1..277c12e2e922 100644 --- a/src/modules/proto_dhcpv4/proto_dhcpv4.c +++ b/src/modules/proto_dhcpv4/proto_dhcpv4.c @@ -397,7 +397,7 @@ static ssize_t mod_encode(void const *instance, REQUEST *request, uint8_t *buffe if (data_len > 0) return data_len; } - data_len = fr_dhcpv4_encode(buffer, buffer_len, request->reply->code, original, + data_len = fr_dhcpv4_encode(buffer, buffer_len, original, request->reply->code, ntohl(original->xid), request->reply->vps); if (data_len < 0) { RPEDEBUG("Failed encoding DHCPV4 reply");