With fimrware release 4.4.2.1 for the Vigor 2765, Draytek added an
extra "modem" package which listed two firmware versions that I've
not seen references to before:
- 8.D.1.F.1.7_8.D.1.0.1.1 (VDSL vectoring, ADSL Annex A)
- 8.D.1.F.1.7_8.D.1.0.1.2 (VDSL vectoring, ADSL Annex B)
These two firmwares have a common 6 byte closing sequence that is
completely different from all the other known firmwares, while
otherwise having the same structure so enhance the script to support
the extra closing sequence.
While at it, refactor the script to move the output format strings
to constants and make several other minor editorial fixes.