]> git.lizzy.rs Git - plan9front.git/commitdiff
ip/ipconfig: ODtftpserver (dhcp option 66) is of type string
authorcinap_lenrek <cinap_lenrek@felloff.net>
Sun, 11 Apr 2021 18:18:03 +0000 (20:18 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Sun, 11 Apr 2021 18:18:03 +0000 (20:18 +0200)
sys/src/cmd/ip/ipconfig/dhcp.c

index 05c363dcb068253d89c64c21008c3ebb5a8de9b5..44badcf8a2c25e0476871d2aebf86ef034c81cd8 100644 (file)
@@ -106,7 +106,7 @@ static Option option[256] =
 [ODrebindingtime]      { "rebindingtime",      Tulong },
 [ODvendorclass]                { "vendorclass",        Tvec },
 [ODclientid]           { "clientid",           Tvec },
-[ODtftpserver]         { "tftp",               Taddr },
+[ODtftpserver]         { "tftp",               Tstr },
 [ODbootfile]           { "bootfile",           Tstr },
 [ODdnsdomain]          { "dnsdomain",          Tnames },
 };