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

segfault when using only some interfaces #14

Open
tbarbette opened this issue Oct 19, 2017 · 1 comment
Open

segfault when using only some interfaces #14

tbarbette opened this issue Oct 19, 2017 · 1 comment

Comments

@tbarbette
Copy link
Contributor

tbarbette commented Oct 19, 2017

When using only some interfaces (eg only dpdk1 when there is in fact dpdk0 and dpdk1 on the machine) leads to a segfault, at least with epwget.

GetOutputInterface will return the "name" index instead of the interface index, therefore this line segfault :
api.c:936 saddr_base = g_config.mos->netdev_table->ent[nif_out]->ip_addr;
as nif_out should be 0 and not 1

@ajamshed
Copy link
Member

Thanks for reporting the bug. We will patch up the code to fix this issue soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants