Closed evs38 closed 4 years ago
At the first glance it must be refactored to be able to check 'tic' and fallback to 'ff' if it does not present. Did I miss something?
There is no need to fallback to ff
or check tic password existance in passwd file because tic password can be empty but FileFix password not. FileFix and tic passwords are really different things (like AreaFix and packet passwords), so I don't understand the reasons why they were combined into one passwd context :)
Why condition then? Some strange compatibility?
Yes, just for compatibility for those who are using ff
context for both tic and FileFix or same passwords for both :)
Applied.
Some uplinks are using separate passwords for FileFix and tic. This commit adds the --enable-tick-password option to configure and defines TIC_PASSWORD to change the password context in passwd file. When this option is enabled, tic password should be added as separate string to the passwd file in the following way:
tic 2:5075/35 password