| commit | 220fbd4fc947d17fc6de17e08e778e9dde07f46c | [log] [tgz] |
|---|---|---|
| author | Geliang Tang <tanggeliang@kylinos.cn> | Tue Jul 23 09:47:51 2024 +0800 |
| committer | Geliang Tang <tanggeliang@kylinos.cn> | Tue Jul 23 21:33:09 2024 +0800 |
| tree | 2bba908fba530cde6577c3ce153456113be95c63 | |
| parent | 9fc1a0b3df11f7ba297668523d673c13bdb130aa [diff] |
selftests/bpf: Use start_server_str in lwt_redirect AF_PACKET can be passed to start_server_str() now. Use it to simplify the code in lwt_redirect. In this test, use sprintf() to save the "ifindex" value into addr_str string, then pass it to the helper. Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>