Added handling for reasons in firewall.c