selftests/bpf: Use connect_to_fd_opts in sockmap_helpers

This patch uses network helper connect_to_fd_opts() in create_pair() in
sockmap_helpers.h to simplify the code.

Signed-off-by: Geliang Tang <tanggeliang@kylinos.cn>
1 file changed