We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Log.info (fun m -> m "Policy.substititue %a for %a" pp_ip old_ip pp_ip new_ip) >>= fun () -> if PrivilegedSet.mem (SrcIP old_ip) t.privileged then begin PrivilegedSet.remove (SrcIP old_ip) t.privileged |> PrivilegedSet.add (SrcIP new_ip) -- |> fun npriv -> t.privileged <- t.privileged end;
It appears that the last line should be fun npriv -> t.privileged <- npriv since npriv is the accumulation of all the changes above it.
fun npriv -> t.privileged <- npriv
(additionally subsequently matching is done on the old_ip to update it, should it not match on name?)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It appears that the last line should be
fun npriv -> t.privileged <- npriv
since npriv is the accumulation of all the changes above it.(additionally subsequently matching is done on the old_ip to update it, should it not match on name?)
The text was updated successfully, but these errors were encountered: