Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
Signed-off-by: Ric Li <[email protected]>
  • Loading branch information
ricmli committed Jan 29, 2024
1 parent 05b69f0 commit 722236b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion manager/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ This command will start the MTL Manager with root privileges, which are necessar

## Run with another XDP program

We have a modified version of the original AF_XDP eBPF program which allows user to add or remove udp dest port in the eBPF program to act as a packet filter, this is built in the manager.
We have a modified version of the original AF_XDP eBPF program which allows user to add or remove udp dest port in the eBPF program to act as a packet filter, this is built-in in the manager.

To run the MTL Manager with any other AF_XDP eBPF program, execute:

Expand Down
2 changes: 1 addition & 1 deletion manager/mtl_interface.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,6 @@ void mtl_interface::unload_xdp() {
}
#endif

std::unordered_map<unsigned int, std::weak_ptr<mtl_interface> > g_interfaces;
std::unordered_map<unsigned int, std::weak_ptr<mtl_interface>> g_interfaces;

#endif

0 comments on commit 722236b

Please sign in to comment.