Commit Diff
- Commit:
f7111bee0697dc42252d3d381f4643b9aeca6431
- 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.
- 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;