* [9front] [PATCH 1/4] Change swap to rootserver
@ 2019-01-23 18:44 k0ga
0 siblings, 0 replies; only message in thread
From: k0ga @ 2019-01-23 18:44 UTC (permalink / raw)
To: 9front
rootserver is a better name for swap server as it is used
for the nfs server that serves rootpath.
diff -r b1cb12e81f18 sys/src/cmd/ip/dhcp.h
--- a/sys/src/cmd/ip/dhcp.h Sun Jan 20 12:55:31 2019 +0100
+++ b/sys/src/cmd/ip/dhcp.h Wed Jan 23 18:14:29 2019 +0000
@@ -49,7 +49,7 @@
OBbflen= 13,
OBdumpfile= 14,
OBdomainname= 15,
- OBswapserver= 16, /* 0x10 */
+ OBrootserver= 16, /* 0x10 */
OBrootpath= 17,
OBextpath= 18,
OBipforward= 19,
diff -r b1cb12e81f18 sys/src/cmd/ip/dhcpd/dhcpd.c
--- a/sys/src/cmd/ip/dhcpd/dhcpd.c Sun Jan 20 12:55:31 2019 +0100
+++ b/sys/src/cmd/ip/dhcpd/dhcpd.c Wed Jan 23 18:14:29 2019 +0000
@@ -99,7 +99,7 @@
[OBbflen] "bflen",
[OBdumpfile] "dumpfile",
[OBdomainname] "dom",
-[OBswapserver] "swap",
+[OBrootserver] "rootserver",
[OBrootpath] "rootpath",
[OBextpath] "extpath",
[OBipforward] "ipforward",
@@ -1186,8 +1186,8 @@
case OBnetbiosns:
a[na++] = "@wins";
break;
- case OBswapserver:
- a[na++] = "@swap";
+ case OBrootserver:
+ a[na++] = "@rootserver";
break;
case OBsmtpserver:
a[na++] = "@smtp";
@@ -1259,9 +1259,9 @@
j = lookupserver("www", addrs, nelem(addrs), t);
addrsopt(rp, OBwwwserver, addrs, j);
break;
- case OBswapserver:
- j = lookupserver("swap", addrs, nelem(addrs), t);
- addrsopt(rp, OBswapserver, addrs, j);
+ case OBrootserver:
+ j = lookupserver("rootserver", addrs, nelem(addrs), t);
+ addrsopt(rp, OBrootserver, addrs, j);
break;
case OBntpserver:
j = lookupserver("ntp", addrs, nelem(addrs), t);
iff -r b1cb12e81f18 sys/src/cmd/ip/ipconfig/dhcp.c
--- a/sys/src/cmd/ip/ipconfig/dhcp.c Sun Jan 20 12:55:31 2019 +0100
+++ b/sys/src/cmd/ip/ipconfig/dhcp.c Wed Jan 23 18:22:29 2019 +0000
@@ -49,7 +49,7 @@
[OBbflen] { "bflen", Tulong },
[OBdumpfile] { "dumpfile", Tstr },
[OBdomainname] { "dom", Tstr },
-[OBswapserver] { "swap", Taddrs },
+[OBrootserver] { "rootserver", Taddrs },
[OBrootpath] { "rootpath", Tstr },
[OBextpath] { "extpath", Tstr },
[OBipforward] { "ipforward", Taddrs },
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-01-23 18:44 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-23 18:44 [9front] [PATCH 1/4] Change swap to rootserver k0ga
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).