aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2024-02-15 13:16:51 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2024-02-15 13:17:33 +0100
commitf016dce37443fd277513f0b99e5a69ef15558f41 (patch)
treef2893c74609e198492b502d9102952280988f34c
parentedaa3d53b717f9bb58390d6c7e7c0128f40a5d82 (diff)
add dslite0 to interface list
Mainly interesting because of ICMP, none of the other protocols should run on it.
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index 9ca4a5c..a8ac6cc 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -33,7 +33,7 @@ use thiserror::Error;
const FILTER: &str = "arp or udp port 67 or udp port 68 or udp port 546 or udp port 547 or udp port 5060 or icmp or icmp6 or ether proto 0x8863 or (ether proto 0x8864 and ether[20:2] > 0x4000)";
const DEVICES: &[&str] = &[
- "eth0", "eth0.10", "eth0.20", "eth0.30", "eth0.40", "eth1", "ppp0",
+ "eth0", "eth0.10", "eth0.20", "eth0.30", "eth0.40", "eth1", "ppp0", "dslite0",
];
const PPP_MAC_AC: &[u8] = &[0xcf, 0x72, 0x73, 0x00, 0x00, 0x01];