modified: .gitignore modified: frida_core/src/mac_tun.rs
This commit is contained in:
parent
118d48b4fe
commit
abc4e9a79a
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,3 +1,4 @@
|
|||||||
target
|
target
|
||||||
.vscode
|
.vscode
|
||||||
.cargo
|
.cargo
|
||||||
|
wintun.dll
|
@ -16,7 +16,7 @@ fn cmd(cmd: &str, args: &[&str]) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn create(cfg: AbstractDevice) -> (DeviceReader, DeviceWriter) {
|
pub fn create(cfg: AbstractDevice) -> (DeviceReader, DeviceWriter) {
|
||||||
let iface = Iface::new("tun%d", Mode::Tun).unwrap();
|
let iface = Iface::new("utun10", Mode::Tun).unwrap();
|
||||||
|
|
||||||
let mut address = cfg.address.unwrap().to_string();
|
let mut address = cfg.address.unwrap().to_string();
|
||||||
address.push_str("/24");
|
address.push_str("/24");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user