canonical / openthread-border-router-snap

BSD 3-Clause "New" or "Revised" License
8 stars 2 forks source link

Restrict Thread interface name to `wpan0` #12

Closed farshidtz closed 1 year ago

farshidtz commented 1 year ago

The interface name is hardcoded in the upstream otbr-firewall code as well as the DBus interface name in snapcraft.yaml.

This PR modifies the configure hook to restrict changes to the thread-if snap option.

farshidtz commented 1 year ago

wpan0 is hardcoded in the firewall setup script: https://github.com/openthread/ot-br-posix/blob/thread-reference-20230119/script/otbr-firewall#L41

No point in making it configurable for the snap.