mpm: Reenable forward interfaces for remote hosts

The forward interfaces are able to forward CHDR packets with MPM
iptables routing. This reenables forward interfaces as a CHDR option.
This commit is contained in:
Steven Koo 2020-08-03 11:11:11 -05:00 committed by Aaron Rossetto
parent d1799df5a4
commit d81816a225

View File

@ -199,8 +199,7 @@ class XportMgrUDP:
}
for iface_name, iface_info in iteritems(self._chdr_ifaces)
if((self.iface_config[iface_name]['type'] == 'internal' and host_location == 'local') or
(self.iface_config[iface_name]['type'] != 'internal' and self.iface_config[iface_name]['type'] != 'forward'
and host_location == 'remote') or
(self.iface_config[iface_name]['type'] != 'internal' and host_location == 'remote') or
host_location == 'all')
]