summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/client.c
diff options
context:
space:
mode:
authorDave Barach <dave@barachs.net>2018-10-23 10:47:36 -0400
committerDamjan Marion <dmarion@me.com>2018-10-23 21:48:22 +0000
commit8a9566ebe0bb4644c0dbd118dc1292eca0b7d3e4 (patch)
tree2ddb6e1c5349ebf77423bc053e84ccb47b0c36f9 /src/vnet/dhcp/client.c
parentbf4d5ce58435d3f424749ff69650ea67ce778f04 (diff)
dns, dhcp: on-demand udp port registration
Change-Id: I8bf411adc6c5f4caa349d161174b544d2de3ad1d Signed-off-by: Dave Barach <dave@barachs.net>
Diffstat (limited to 'src/vnet/dhcp/client.c')
-rw-r--r--src/vnet/dhcp/client.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/dhcp/client.c b/src/vnet/dhcp/client.c
index 32333054fa3..1c52b0cbdbb 100644
--- a/src/vnet/dhcp/client.c
+++ b/src/vnet/dhcp/client.c
@@ -907,6 +907,7 @@ dhcp_client_add_del (dhcp_client_add_del_args_t * a)
if (a->is_add)
{
+ dhcp_maybe_register_udp_ports ();
pool_get (dcm->clients, c);
clib_memset (c, 0, sizeof (*c));
c->state = DHCP_DISCOVER;