You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Greetings!
My English is not very good, excuse me if I said something wrong.
I think that syntax [ip_addr] masklen [masklen] in configuration file is not very convenient. In my opinion, much better [ip_addr]/[masklen] syntax. I just created a patch for config.c which allows to use any of both of syntaxes: [ip_addr] masklen [masklen] or [ip_addr]/[masklen].
If it is interesting to you, then patch can be downloaded from here: http://gentoo.homelan.lg.ua/distrib/config-use_slash_masklen.patch
With best regards, Alexey Prokopchuk (AP8686-RIPE).
The text was updated successfully, but these errors were encountered:
Sorry for the lack of response on this issue! I've been a bit preoccupied with other things the last year.
Very good of you to step up and add this functionality. I'll rework it a bit, to reduce code duplication and fix coding style, then commit it to master before the next release.
o Coding style fixes
o Change configfilename to config_file
o Simplify config.c:next_word()
o Add line number to syntax/parse errors
o Add support for /PREFIXLEN, alternative to 'masklen <PREFIXLEN>'
Based on patch from Alexey Prokopchuk, see issue #12
Greetings!
My English is not very good, excuse me if I said something wrong.
I think that syntax [ip_addr] masklen [masklen] in configuration file is not very convenient. In my opinion, much better [ip_addr]/[masklen] syntax. I just created a patch for config.c which allows to use any of both of syntaxes: [ip_addr] masklen [masklen] or [ip_addr]/[masklen].
If it is interesting to you, then patch can be downloaded from here: http://gentoo.homelan.lg.ua/distrib/config-use_slash_masklen.patch
With best regards, Alexey Prokopchuk (AP8686-RIPE).
The text was updated successfully, but these errors were encountered: