diff options
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); |