summaryrefslogtreecommitdiff
path: root/src/cmd/init/init.c
diff options
context:
space:
mode:
authordzwdz2024-05-05 15:20:33 +0200
committerdzwdz2024-05-05 15:20:33 +0200
commit1e9887d904280c43c5a92570a07627689c89b48f (patch)
tree92a93a7e4bfd9da3ff7e9b09f83579f360340ce9 /src/cmd/init/init.c
parentd7e389ae21685dda6ef6619cbd3c64ad2db149b4 (diff)
net: expose the rtl mac to userland, make the netstack use it
Diffstat (limited to 'src/cmd/init/init.c')
-rw-r--r--src/cmd/init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd/init/init.c b/src/cmd/init/init.c
index 2bef5d8..0a64054 100644
--- a/src/cmd/init/init.c
+++ b/src/cmd/init/init.c
@@ -125,7 +125,7 @@ int main(void) {
}
MOUNT_AT("/net/") {
const char *allow[] = {"/bin/netstack", "/dev/eth/", NULL};
- const char *argv[] = {"/bin/netstack", "/dev/eth/net", "192.168.0.11", "192.168.0.2", NULL};
+ const char *argv[] = {"/bin/netstack", "/dev/eth/", "192.168.0.11", "192.168.0.2", NULL};
MOUNT_AT("/") { fs_whitelist(allow); }
execv(argv[0], (void*)argv);
}