mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Do not delete 'goto ours' routes when using -c option.
Obtained from: KAME
This commit is contained in:
parent
040eea4cc8
commit
220f01cd2d
1 changed files with 5 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue