Skip to content
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

Open
blithe2015 opened this issue Nov 24, 2022 · 2 comments
Open

How to get ipsec information correctly #10

blithe2015 opened this issue Nov 24, 2022 · 2 comments

Comments

@blithe2015
Copy link

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;
}`

@cdoyle-druid
Copy link

Hello, is this an active issue?
I have the list-sas working via the DAVICI and can probably assist

@blithe2015
Copy link
Author

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants