Commit Diff
- Commit:
2fae6242335d7b7a16c47a534ae3986be38ad7dc
- From:
- Stefan Sperling <stsp@stsp.name>
- Date:
- Message:
- on startup, initialize cli_rtable to the current rdomain Fixes behaviour when nsh starts in a non-default rdomain. We used to assume to start out in rdomain 0, which is not necessarily the case. ok Tom
- Actions:
- Patch | Tree
--- main.c +++ main.c @@ -256,6 +256,8 @@ main(int argc, char *argv[]) "for stdin\n"); } } + + cli_rtable = getrtable(); if (iflag) { int carp_locked;