summaryrefslogtreecommitdiff
path: root/networking/udhcp/dhcprelay.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/udhcp/dhcprelay.c')
-rw-r--r--networking/udhcp/dhcprelay.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/networking/udhcp/dhcprelay.c b/networking/udhcp/dhcprelay.c
index e14325dca..d194a989b 100644
--- a/networking/udhcp/dhcprelay.c
+++ b/networking/udhcp/dhcprelay.c
@@ -175,7 +175,6 @@ static void pass_to_server(struct dhcp_packet *p, int packet_len, int client, in
175 struct sockaddr_in *client_addr, struct sockaddr_in *server_addr) 175 struct sockaddr_in *client_addr, struct sockaddr_in *server_addr)
176{ 176{
177 int res, type; 177 int res, type;
178 struct xid_item *item;
179 178
180 /* check packet_type */ 179 /* check packet_type */
181 type = get_dhcp_packet_type(p); 180 type = get_dhcp_packet_type(p);
@@ -187,7 +186,7 @@ static void pass_to_server(struct dhcp_packet *p, int packet_len, int client, in
187 } 186 }
188 187
189 /* create new xid entry */ 188 /* create new xid entry */
190 item = xid_add(p->xid, client_addr, client); 189 xid_add(p->xid, client_addr, client);
191 190
192 /* forward request to LAN (server) */ 191 /* forward request to LAN (server) */
193 errno = 0; 192 errno = 0;