-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
How to get ipsec information correctly #10
Comments
Hello, is this an active issue? |
hello, can you give me some pointers? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to achieve the result of swanctl --list-sas, the code to get the return value is null
`static int query_list_sa(struct dispatch_data *dd)
{
struct davici_request *r;
int err;
err = davici_new_cmd("list-sas", &r);
if (err < 0)
{
return err;
}
log_info("%s %d", FILE, LINE);
// davici_kvf(r, "noblock", "%s", "no");
err = davici_queue(dd->c, r, list_sa_cb, dd);
if (err < 0)
{
return err;
}
log_info("%s %d", FILE, LINE);
dd->pending++;
return 0;
}`
The text was updated successfully, but these errors were encountered: