Commit Diff


commit - f9706d00427c6794f1ba7342cf290f7f627254c4
commit + c0130f838ee9ccc1da39369dce8119349000c571
blob - a6030ec3030e55cb93190ae6502044171e9eb406
blob + b8f101487a791a3bb287ae53bd9c0dc7d4118cf0
--- arp.c
+++ arp.c
@@ -393,7 +393,7 @@ arpsearch(FILE *output, char *delim, in_addr_t addr, v
 	struct rtdump *rtdump;
 	int found_entry = 0;
 
-	rtdump = getrtdump(AF_INET, RTF_LLINFO, 0);
+	rtdump = getrtdump(AF_INET, RTF_LLINFO, cli_rtable);
 	if (rtdump == NULL)
 		return 0;
 	for (next = rtdump->buf; next < rtdump->lim; next += rtm->rtm_msglen)