ffnord / mesh-announce

Discussion at #mesh-announce:irc.hackint.org and (separately) at
https://matrix.to/#/!MjLIHcALOcENXZWQlH:irc.hackint.org/$1547640760901FmKaD:matrix.eclabs.de
13 stars 45 forks source link

Compatibility to batctl >= 2019.3 #50

Closed margau closed 3 years ago

margau commented 4 years ago

Hello together, with batman-adv the batctl-option "-m " is replaced with "meshif " (see https://www.open-mesh.org/news/92). As of now, this only triggers some deprecation warnings.

For fixing this replacing "-m" with "meshif" should work - but this probably breaks compatibility with BATMAN-ADV < 2019.3.

How should this be resolved?

Best regards margau

TobleMiner commented 4 years ago

Hard to tell. I'd love to have auto-detection for it but looks like we would have to start parsing the batctl -v output to do so. While I don't like that idea I don't feel like having the user specify the version is a solution either. I'll make a PR for parsing the version

TobleMiner commented 4 years ago

See #51 and test, please

AiyionPrime commented 3 years ago

Tested both #51 and #64.

batctl 2021.0 debian buster: no warnings left