binding/python: ifindex 0 is invalid so do not process it

On some platforms, libraries underpinning libteam assert that an ifindex
passed to them is not zero so an ifindex of zero cannot be passed down.
This patch alters libteam processing order to ensure that this is the

Signed-off-by: Paul D.Smith <>
Signed-off-by: Jiri Pirko <>
1 file changed