diff options
author | dzwdz | 2022-08-24 12:42:11 +0200 |
---|---|---|
committer | dzwdz | 2022-08-24 12:42:11 +0200 |
commit | 7944d21846ef288fee087159cb244897d5fff4ba (patch) | |
tree | 6bc179323972e51bab5e074f16c1a7822bf0ec4a /src/user/app/init/init.c | |
parent | 039363ede4b868c8ea5cedce89c16123f91b2c05 (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.c | 2 |
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); } |