Error on updating routing table after modifying static routes
When modifying an existing static route, e.g. changing subnet to be routed, the modified route is added to the current routing table instead of replacing the existing route. To get the correct routing table, you have to reboot pfSense.
Have an existing static route "Destination = 10.0.0.0/8, Gateway = 10.100.0.1, Flags = UGS, netif = hn0", then modify the Destination to 10.0.0.0/24 by GUI "System/Routing/Static Routes", and you will find two entries in routing table (on GUI "Diagnostics/Routes" or on shell "netstat -rn"): The original one and a new one "Destination = 10.0.0.0/24, Gateway = 10.100.0.1, Flags = UGS, netif = hn0".