diff --git a/sys/netpfil/ipfw/ip_fw_nat.c b/sys/netpfil/ipfw/ip_fw_nat.c
index d7b31c29d4e..a25ecec65a6 100644
--- a/sys/netpfil/ipfw/ip_fw_nat.c
+++ b/sys/netpfil/ipfw/ip_fw_nat.c
@@ -81,22 +81,6 @@ struct cfg_redir {
LIST_HEAD(spool_chain, cfg_spool) spool_chain;
};
-/* Nat configuration data struct. */
-struct cfg_nat {
- /* chain of nat instances */
- LIST_ENTRY(cfg_nat) _next;
- int id; /* nat id */
- struct in_addr ip; /* nat ip address */
- struct libalias *lib; /* libalias instance */
- int mode; /* aliasing mode */
- int redir_cnt; /* number of entry in spool chain */
- /* chain of redir instances */
- LIST_HEAD(redir_chain, cfg_redir) redir_chain;
- char if_name[IF_NAMESIZE]; /* interface name */
- u_short alias_port_lo; /* low range for port aliasing */
- u_short alias_port_hi; /* high range for port aliasing */
-};
-
static eventhandler_tag ifaddr_event_tag;
static void
@@ -348,6 +332,9 @@ ipfw_nat(struct ip_fw_args *args, struct cfg_nat *t, struct mbuf *m)
c = mtod(mcl, char *);
+ if (V_sync_alias)
+ V_sync_alias(t, NULL);
+
/* Check if this is 'global' instance */
if (t == NULL) {
if (args->flags & IPFW_ARGS_IN) {
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>