zipp0.c but enhanced to scan for wingates, just pile up all the bcast/wgates addys into one file and this program will check them for you and set them on another file.
You can download it from the following link: https://packetstormsecurity.com/files/download/11458/wbscan.tar.gz
Source: https://packetstormsecurity.com/files/11458/wbscan.tar.gz.html