From e5a7fcd0defe4fb26e3c90e1baaeaabff837a928 Mon Sep 17 00:00:00 2001 From: Mike Belopuhov Date: Thu, 26 Jul 2012 12:25:32 +0000 Subject: rename all_state_flags to state_flags to finish the transition to the 16 bit flags; reminded by claudio, ok henning --- sys/net/if_pfsync.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/net/if_pfsync.c') diff --git a/sys/net/if_pfsync.c b/sys/net/if_pfsync.c index 66ca0b191c3..44b998d6751 100644 --- a/sys/net/if_pfsync.c +++ b/sys/net/if_pfsync.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_pfsync.c,v 1.188 2012/06/30 00:16:15 mikeb Exp $ */ +/* $OpenBSD: if_pfsync.c,v 1.189 2012/07/26 12:25:31 mikeb Exp $ */ /* * Copyright (c) 2002 Michael Shalayeff @@ -589,8 +589,7 @@ pfsync_state_import(struct pfsync_state *sp, int flags) st->direction = sp->direction; st->log = sp->log; st->timeout = sp->timeout; - /* XXX replace state_flags post 5.0 */ - st->state_flags = sp->state_flags | ntohs(sp->all_state_flags); + st->state_flags = ntohs(sp->state_flags); st->max_mss = ntohs(sp->max_mss); st->min_ttl = sp->min_ttl; st->set_tos = sp->set_tos; -- cgit v1.2.3