diff options
author | dzwdz | 2024-05-05 15:20:33 +0200 |
---|---|---|
committer | dzwdz | 2024-05-05 15:20:33 +0200 |
commit | 1e9887d904280c43c5a92570a07627689c89b48f (patch) | |
tree | 92a93a7e4bfd9da3ff7e9b09f83579f360340ce9 /src/cmd/init | |
parent | d7e389ae21685dda6ef6619cbd3c64ad2db149b4 (diff) |
net: expose the rtl mac to userland, make the netstack use it
Diffstat (limited to 'src/cmd/init')
-rw-r--r-- | src/cmd/init/init.c | 2 |
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); } |