Skip to content

Commit

Permalink
dhcp: document timeout flag
Browse files Browse the repository at this point in the history
Related to containernetworking/plugins#565

Added double spaces for formatting

Signed-off-by: tlwr <[email protected]>
  • Loading branch information
tlwr committed Feb 5, 2021
1 parent c96074e commit 3bb13d9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion content/plugins/ipam/dhcp.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ use this prefix for DHCP socket as `<prefix>/run/cni/dhcp.sock`. You can use
this prefix for references to the host filesystem, e.g. to access netns and the
unix socket.
If given `-broadcast=true` argument after 'daemon', the dhcp plugin will
enable the broadcast flag on DHCP packets.
enable the broadcast flag on DHCP packets.
If given `-timeout <duration>` arguments after 'daemon', the dhcp daemon will
time out unanswered dhcp requests after this duration, defaults to `10s`.

Alternatively, you can use systemd socket activation protocol.
Be sure that the .socket file uses /run/cni/dhcp.sock as the socket path.
Expand Down

0 comments on commit 3bb13d9

Please sign in to comment.