|
@@ -492,12 +492,12 @@ bool ManagedRoute::sync()
|
|
|
}
|
|
|
|
|
|
if (!_applied.count(leftt)) {
|
|
|
- _applied[leftt] = false; // not ifscoped
|
|
|
+ _applied[leftt] = !_via;
|
|
|
_routeCmd("add",leftt,_via,(const char *)0,(_via) ? (const char *)0 : _device);
|
|
|
_routeCmd("change",leftt,_via,(const char *)0,(_via) ? (const char *)0 : _device);
|
|
|
}
|
|
|
if ((rightt)&&(!_applied.count(rightt))) {
|
|
|
- _applied[rightt] = false; // not ifscoped
|
|
|
+ _applied[rightt] = !_via;
|
|
|
_routeCmd("add",rightt,_via,(const char *)0,(_via) ? (const char *)0 : _device);
|
|
|
_routeCmd("change",rightt,_via,(const char *)0,(_via) ? (const char *)0 : _device);
|
|
|
}
|