-
Notifications
You must be signed in to change notification settings - Fork 2
Fix Reported Gnuton Comparison Errors #505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Fix Reported Gnuton Comparison Errors
|
@ExtremeFiretop, Later tonight (when everyone goes to sleep), I'll run some tests on my PRO router since I have not yet updated to the latest 3006.102.5 F/W release. I'll let you know of the results. |
Martinski4GitHub
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved to merge!!!
|
I just ran a few tests on my RT-AX86U_PRO to detect the latest RMerlin 3006.102.5 F/W version, and everything went well. The version numbers were generated & compared correctly, and the notification date was updated properly. Initial detection:Selecting menu option 1:Good to go!! |
Agreed! Good catch and i won't lie it confused me at first. But once I narrowed down the area of interest it was just a question of what was the best way to deal with it without breaking anything else lol!
Awesome! Yes it's time to pull that PRO router out and put it to work 😉 |
Perfect... Yes I really wanted to be sure the comparisons were still working correctly. |
Indeed!! That function cannot be broken!!! It must work every single time for ALL models and F/W releases (Merlin's & Gnuton's). |




Fix Reported Gnuton Comparison Errors
Reported here: https://www.snbforums.com/threads/merlinau-v1-5-1-the-ultimate-firmware-auto-updater-webui-gnuton-support.91326/post-964857
The reason appears to be that his setting file still contained the short version, causing the regex in the new modified FWVersionStrToNum function for buildDigits to grabb the last numeric segment of a plain dotted version (the “.2” in 3004.388.9.2) and treating it like a suffix build number.
That makes:
3004.388.9.2 --> buildDigits 02 (wrong - there’s no suffix)
3004.388.9.2-gnuton2 --> buildDigits 02
Recreated below: