Skip to content

Commit 4ae2cfc

Browse files
committed
fix: documentation for eBPF example
1 parent cd0118a commit 4ae2cfc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

examples/eBPF/client_ebpf_user.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
/**
22
* Example of client using a eBPF loadbalancer.
3-
* This allows multiple client instances listening on the same IP/port and receiving consistent data
3+
* This allows multiple client instances listening on the same IP/port and receiving consistent data
44
* (all packets from one src IP will always go on the same collector)
55
*
6-
* Usage: ./client_ebpf <ip> <port> <index> <balancer_max>
6+
* Usage: ./client_ebpf_user <ip> <port> <index> <balancer_max>
77
*
88
* Example: launching 3 instances on the same ip port. The index is the index on the map to put the socket
99
* and the balancer_max is how many max instances are in use.
1010
*
11-
* ./client_ebpf 192.168.1.17 10001 0 3
12-
* ./client_ebpf 192.168.1.17 10001 1 3
13-
* ./client_ebpf 192.168.1.17 10001 2 3
11+
* ./client_ebpf_user 192.168.1.17 10001 0 3
12+
* ./client_ebpf_user 192.168.1.17 10001 1 3
13+
* ./client_ebpf_user 192.168.1.17 10001 2 3
1414
*/
1515

1616
#include <stdio.h>

0 commit comments

Comments
 (0)