Skip to content

segfault when using only some interfaces #14

Description

@tbarbette

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions