Skip to content

Commit

Permalink
Merge pull request #2095 from nchaigne/3.0.x-dhcp-relay-drop
Browse files Browse the repository at this point in the history
Allow to drop DHCP response from relay
  • Loading branch information
alandekok committed Oct 18, 2017
2 parents 80d6e68 + be15811 commit c8eb3b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/modules/proto_dhcp/dhcpd.c
Expand Up @@ -423,6 +423,9 @@ static int dhcp_process(REQUEST *request)

/* BOOTREPLY received on port 67 (i.e. from a server) */
if (vp->vp_byte == 2) {
if (request->reply->code == 0) {
return 1;
}
return dhcprelay_process_server_reply(request);
}

Expand Down

0 comments on commit c8eb3b0

Please sign in to comment.