Same route when added error thrown for ip add, anyway to silently discard ?
Hi All!
ip route add default via 192.168.108.132 table PBR.table1
RTNETLINK answers: File exists
When I add the same route I am getting error. Though this is expected we want this to be silently discarded. Reason for the same is from the application we execute this command via system call and when system call returns status other than 0 we are thinking its failed.
rgds
Balaji
|