Do not delete 'goto ours' routes when using -c option.

Obtained from:	KAME
This commit is contained in:
Munechika SUMIKAWA 2001-08-09 19:40:35 +00:00
parent 040eea4cc8
commit 220f01cd2d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=81366

View File

@ -637,7 +637,12 @@ again:;
sizeof(host_buf), NULL, 0,
NI_WITHSCOPEID | (nflag ? NI_NUMERICHOST : 0));
if (cflag == 1) {
#ifdef RTF_WASCLONED
if (rtm->rtm_flags & RTF_WASCLONED)
delete(host_buf);
#else
delete(host_buf);
#endif
continue;
}
gettimeofday(&time, 0);