Better broadcast address detection is needed
Just sending to 255.255.255.255 fails if there is no gateway defined. Just change it so that if no destination is defined by command line switch we detect broadcast addresses on every connected interface and send to them all.