network: fix typo in bridge detection