diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-07-26 12:25:32 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2012-07-26 12:25:32 +0000 |
commit | e5a7fcd0defe4fb26e3c90e1baaeaabff837a928 (patch) | |
tree | cc821c897824b1e0d04535e1b1a93c0cea350a84 /sys/net/if_pfsync.c | |
parent | b6c566d9437a9a046cdb8dec99036c37a55fb241 (diff) |
rename all_state_flags to state_flags to finish the transition
to the 16 bit flags; reminded by claudio, ok henning
Diffstat (limited to 'sys/net/if_pfsync.c')
-rw-r--r-- | sys/net/if_pfsync.c | 5 |
1 files changed, 2 insertions, 3 deletions
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; |