summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPablo Neira Ayuso <pablo@netfilter.org>2011-12-24 19:11:35 +0100
committerPablo Neira Ayuso <pablo@netfilter.org>2011-12-24 19:45:41 +0100
commit0dac0485dd4f4deb0463d5ff8a1f9d239cb164e7 (patch)
tree3c748fb1a0be4d052da394411241e016235ab9fe /utils
parentda2b8f936185e0224e0c4f78e724c45c7a52b194 (diff)
utils: fix expect_get to work with expect_create
expect_get now allows you get the expectation that has been created with expect_create. Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'utils')
-rw-r--r--utils/expect_get.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/expect_get.c b/utils/expect_get.c
index e42c845..c426cf3 100644
--- a/utils/expect_get.c
+++ b/utils/expect_get.c
@@ -32,8 +32,8 @@ int main(void)
}
nfct_set_attr_u8(master, ATTR_L3PROTO, AF_INET);
- nfct_set_attr_u32(master, ATTR_IPV4_SRC, inet_addr("4.4.4.4"));
- nfct_set_attr_u32(master, ATTR_IPV4_DST, inet_addr("5.5.5.5"));
+ nfct_set_attr_u32(master, ATTR_IPV4_SRC, inet_addr("1.1.1.1"));
+ nfct_set_attr_u32(master, ATTR_IPV4_DST, inet_addr("2.2.2.2"));
nfct_set_attr_u8(master, ATTR_L4PROTO, IPPROTO_TCP);
nfct_set_attr_u16(master, ATTR_PORT_SRC, htons(10240));