commit f7111bee0697dc42252d3d381f4643b9aeca6431 from: Stefan Sperling date: Tue Sep 17 09:40:26 2024 UTC 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. commit - 956b87649feaa87632c0dbbb7a3a8261c27288f5 commit + f7111bee0697dc42252d3d381f4643b9aeca6431 blob - d12f005cec3778de6c80aa47a81d64b27ae2ad63 blob + d0dff82e1130d336dadeb8906468721218609b45 --- main.c +++ main.c @@ -256,6 +256,8 @@ main(int argc, char *argv[]) "for stdin\n"); } } + + cli_rtable = getrtable(); if (iflag) { int carp_locked;