diff options
author | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-07-19 15:13:22 +0000 |
---|---|---|
committer | /C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org </C=EU/ST=EU/CN=Pablo Neira Ayuso/emailAddress=pablo@netfilter.org> | 2007-07-19 15:13:22 +0000 |
commit | 9479a701b5185f5f5ad4ddf14ac37b847aa979dd (patch) | |
tree | 2a7de17c0bf15b099cb00af6eaea1517f831e715 /src/network.c | |
parent | 1f285fc475b0c445b4787599017624b0ad047ffe (diff) | |
download | conntrack-tools-9479a701b5185f5f5ad4ddf14ac37b847aa979dd.tar.gz conntrack-tools-9479a701b5185f5f5ad4ddf14ac37b847aa979dd.zip |
minor fix in the last commit: check conf->mtu instead of mtu that is < 0
Diffstat (limited to 'src/network.c')
-rw-r--r-- | src/network.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network.c b/src/network.c index a7843dc..9bd3469 100644 --- a/src/network.c +++ b/src/network.c @@ -101,7 +101,7 @@ int mcast_buffered_init(struct mcast_conf *conf) int mtu = conf->mtu - HEADERSIZ; /* default to Ethernet MTU 1500 bytes */ - if (mtu == 0) + if (conf->mtu == 0) mtu = 1500 - HEADERSIZ; tx_buf = malloc(mtu); |