--- rc.orig	2010-11-02 00:47:55.000000000 +0200
+++ rc	2010-11-02 00:47:55.000000000 +0200
@@ -305,6 +305,13 @@
 	if [ -f /etc/hostname.pfsync0 ]; then
 		. /etc/netstart pfsync0
 	fi
+	# Initialise next hops for pf's route-to rules
+	pfctl -t gw_em0 -T add \
+	    `netstat -f inet -rn | grep default | grep em0 | awk '{print $2}'`
+	pfctl -t gw_em1 -T add \
+	    `netstat -f inet -rn | grep default | grep em1 | awk '{print $2}'`
+	pfctl -t gw_em2 -T add \
+	    `netstat -f inet -rn | grep default | grep em2 | awk '{print $2}'`
 fi
 
 mount -s /usr >/dev/null 2>&1
