commit f9706d00427c6794f1ba7342cf290f7f627254c4 from: Stefan Sperling date: Fri Nov 1 16:28:15 2024 UTC make 'flush routes' and 'flush arp' operate on the current rtable These commands were hard-coded to use rtable 0. Problem found by Tom. commit - 9f47d3c105eb081e79daab6ad87db92caa6bf1ba commit + f9706d00427c6794f1ba7342cf290f7f627254c4 blob - f589c4087c0913f1ffe58e330e3623fb7b39a33f blob + 9f67e007f2d4d0bd695fd37f5e69d86c5d9b7f5e --- kroute.c +++ kroute.c @@ -163,7 +163,7 @@ flushroutes(int af, int af2, int flush_verbose) } shutdown(s, 0); /* Don't want to read back our messages */ - rtdump = getrtdump(af, 0, 0); + rtdump = getrtdump(af, 0, cli_rtable); if (rtdump == NULL) { close(s); return;