aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 295a999..028abe0 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -134,14 +134,14 @@ fn filter() -> Result<()> {
.iface("rsppp0")?
.protocol(Protocol::TCP)
.syn()?
- .set_mss(1452);
+ .clamp_mss_to_pmtu();
batch.add(&clamp_mss_inbound, MsgType::Add);
let clamp_mss_outbound = Rule::new(&forward)?
.oface("rsppp0")?
.protocol(Protocol::TCP)
.syn()?
- .set_mss(1452);
+ .clamp_mss_to_pmtu();
batch.add(&clamp_mss_outbound, MsgType::Add);
let allow_established = Rule::new(&forward)?.established()?.accept();