aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRui Paulo <rpaulo@FreeBSD.org>2010-10-13 17:09:16 +0000
committerRui Paulo <rpaulo@FreeBSD.org>2010-10-13 17:09:16 +0000
commitf3e830e9b02cf184273ebd72ab951121d4d3f8b4 (patch)
tree666acdd7278a6a36c33bba355c56ba2f331b0185
parent1debbf5d79b759a36e6f93af0089e154dfd38a74 (diff)
downloadsrc-f3e830e9b02cf184273ebd72ab951121d4d3f8b4.tar.gz
src-f3e830e9b02cf184273ebd72ab951121d4d3f8b4.zip
Notes
-rw-r--r--sys/contrib/ngatm/netnatm/api/cc_conn.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/contrib/ngatm/netnatm/api/cc_conn.c b/sys/contrib/ngatm/netnatm/api/cc_conn.c
index 2ba972aa0091..3350e2cb3806 100644
--- a/sys/contrib/ngatm/netnatm/api/cc_conn.c
+++ b/sys/contrib/ngatm/netnatm/api/cc_conn.c
@@ -977,25 +977,25 @@ cc_conn_sig_handle(struct ccconn *conn, enum conn_sig sig,
/*
* attributes
*/
- if (conn->dirty_attr && CCDIRTY_AAL)
+ if (conn->dirty_attr & CCDIRTY_AAL)
resp->connect.aal = conn->aal;
- if (conn->dirty_attr && CCDIRTY_BLLI)
+ if (conn->dirty_attr & CCDIRTY_BLLI)
resp->connect.blli =
conn->blli[conn->blli_selector - 1];
- if (conn->dirty_attr && CCDIRTY_CONNID)
+ if (conn->dirty_attr & CCDIRTY_CONNID)
resp->connect.connid = conn->connid;
/* XXX NOTIFY */
- if (conn->dirty_attr && CCDIRTY_EETD)
+ if (conn->dirty_attr & CCDIRTY_EETD)
resp->connect.eetd = conn->eetd;
/* XXX GIT */
/* XXX UU */
- if (conn->dirty_attr && CCDIRTY_TRAFFIC)
+ if (conn->dirty_attr & CCDIRTY_TRAFFIC)
resp->connect.traffic = conn->traffic;
- if (conn->dirty_attr && CCDIRTY_EXQOS)
+ if (conn->dirty_attr & CCDIRTY_EXQOS)
resp->connect.exqos = conn->exqos;
- if (conn->dirty_attr && CCDIRTY_ABRSETUP)
+ if (conn->dirty_attr & CCDIRTY_ABRSETUP)
resp->connect.abrsetup = conn->abrsetup;
- if (conn->dirty_attr && CCDIRTY_ABRADD)
+ if (conn->dirty_attr & CCDIRTY_ABRADD)
resp->connect.abradd = conn->abradd;
/*