]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[ntp] Define NTP server setting
authorMichael Brown <mcb30@ipxe.org>
Wed, 19 Jul 2023 10:10:15 +0000 (11:10 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 19 Jul 2023 10:10:15 +0000 (11:10 +0100)
commitd5c08f78bdf45668a955c1f3d3a96f35d8c0e91b
treee3b1f7cc62d38f6a564ba10fec10d7da14826c52
parentc30b71ee9cc2dc2a1d2f225d99f2d70dd73de247
[ntp] Define NTP server setting

Define the IPv4 NTP server setting to simplify the use of a
DHCP-provided NTP server in scripts, using e.g.

  #!ipxe
  dhcp
  ntp ${ntp}

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/dhcp.h
src/net/udp/ntp.c