In case you use a function similar to what I posted, see Kresd crashes with policy configuration and FQDN as router name