summaryrefslogtreecommitdiff
path: root/src/sync-alarm.c
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2008-12-13 16:15:18 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2008-12-13 16:15:18 +0100
commit8d6efef0daed05925bf9b13c21948afa651482a5 (patch)
treeae9053c2a1579d3a74fd68cd508d1922eafccfb2 /src/sync-alarm.c
parent77d7daef4e41b5fb55d9fb2c4c0a66fe7039887d (diff)
downloadconntrack-tools-8d6efef0daed05925bf9b13c21948afa651482a5.tar.gz
conntrack-tools-8d6efef0daed05925bf9b13c21948afa651482a5.zip
network: use NET_T_* instead of NFCT_Q_*
This patch replaces the use of NFCT_Q_* in the message type by specific network message type NET_T_*. The query types are reserved for libnetfilter_conntrack operations. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'src/sync-alarm.c')
-rw-r--r--src/sync-alarm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sync-alarm.c b/src/sync-alarm.c
index fe3d9af..d871b75 100644
--- a/src/sync-alarm.c
+++ b/src/sync-alarm.c
@@ -38,7 +38,7 @@ static void refresher(struct alarm_block *a, void *data)
random() % CONFIG(refresh) + 1,
((random() % 5 + 1) * 200000) - 1);
- net = BUILD_NETMSG(u->ct, NFCT_Q_UPDATE);
+ net = BUILD_NETMSG(u->ct, NET_T_STATE_UPD);
mcast_buffered_send_netmsg(STATE_SYNC(mcast_client), net);
}