util.py: set broadcast flag for broadcast address

Signed-off-by: Chun-Yeow Yeoh <yeohchunyeow@gmail.com>