Skip to content

Commit

Permalink
remove flag while deleting interface (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
dzania committed Nov 30, 2023
1 parent 7034b70 commit d0caf49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/netlink.rs
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,7 @@ pub fn delete_rule(ip_version: IpVersion, fwmark: u32) -> NetlinkResult<()> {
message.nlas.push(RuleNla::Table(fwmark));
match netlink_request(
RtnlMessage::DelRule(message),
NLM_F_REQUEST | NLM_F_ACK | NLM_F_EXCL,
NLM_F_REQUEST | NLM_F_ACK,
NETLINK_ROUTE,
) {
Ok(_msg) => Ok(()),
Expand Down

0 comments on commit d0caf49

Please sign in to comment.