summaryrefslogtreecommitdiff
path: root/src/user/app/init/init.c
diff options
context:
space:
mode:
authordzwdz2022-08-24 12:42:11 +0200
committerdzwdz2022-08-24 12:42:11 +0200
commit7944d21846ef288fee087159cb244897d5fff4ba (patch)
tree6bc179323972e51bab5e074f16c1a7822bf0ec4a /src/user/app/init/init.c
parent039363ede4b868c8ea5cedce89c16123f91b2c05 (diff)
user/netstack: take ip as argument when mounting
Diffstat (limited to 'src/user/app/init/init.c')
-rw-r--r--src/user/app/init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user/app/init/init.c b/src/user/app/init/init.c
index 7b7afc4..9c3fa39 100644
--- a/src/user/app/init/init.c
+++ b/src/user/app/init/init.c
@@ -68,7 +68,7 @@ int main(void) {
execv(argv[0], (void*)argv);
}
MOUNT_AT("/net/") {
- const char *argv[] = {"/bin/netstack", "/kdev/eth", NULL};
+ const char *argv[] = {"/bin/netstack", "/kdev/eth", "192.168.0.11", NULL};
execv(argv[0], (void*)argv);
}