A better solution would be to upgrade to a more recent upstream release. Starting from version 1.13, vnStat is able to query and use the link speed of interfaces that provide that data. That currently includes pretty much all wired connections, channel bonding interfaces and some wireless drivers. As a result, the MaxBandwidth keyword becomes a fallback value which also now has a default value of 1000.
-- - Teemu Toivola