Skip to content

protos: force vlanId to be numeric#633

Merged
spiccinini merged 1 commit into
libremesh:masterfrom
ilario:numeric_vlanId
Nov 10, 2019
Merged

protos: force vlanId to be numeric#633
spiccinini merged 1 commit into
libremesh:masterfrom
ilario:numeric_vlanId

Conversation

@ilario
Copy link
Copy Markdown
Member

@ilario ilario commented Oct 21, 2019

Between the arguments which can be provided to the routing protocols, the first one is usually the VLAN ID.
Force it to be numeric, for all the protocols except Batman-adv one which can be parametrized with %N1 (and except Babeld which is being treated in #631).

@ilario ilario requested a review from spiccinini October 21, 2019 12:22
@spiccinini
Copy link
Copy Markdown
Contributor

As I understand this is fixing bugs as the vlanID is always a string the way it is passed now. I am +1 in the fix, only hoping that we can add tests.

@spiccinini spiccinini merged commit cf741c0 into libremesh:master Nov 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants