diff --git a/core/port.h b/core/port.h index 60d9dc82a..da6a9dab8 100644 --- a/core/port.h +++ b/core/port.h @@ -278,7 +278,7 @@ class Port { const queue_t *queues, int num); const std::string &name() const { return name_; } - Conf conf() const { return conf_; } + const Conf &conf() const { return conf_; } const PortBuilder *port_builder() const { return port_builder_; }