Updated code to match API change in GoSNMP which broke the package