summaryrefslogtreecommitdiffstats
path: root/extras/libmemif/src/socket.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-07-11 12:24:19 +0200
committerDamjan Marion <dmarion@me.com>2018-07-11 13:23:03 +0000
commit20728d40d91b89fe9f9d8d8c3f4ec16d51412c8b (patch)
tree10ef911c370376d627dc43775de47b4dee48f056 /extras/libmemif/src/socket.c
parent9a02c54e4f3c53cbaceee4cbb30835113f0641ce (diff)
memif: fix max number of rings
Change-Id: Ie7621a38a44e7c692e23e58c43d27d8d2aab43e6 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'extras/libmemif/src/socket.c')
-rw-r--r--extras/libmemif/src/socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/extras/libmemif/src/socket.c b/extras/libmemif/src/socket.c
index fd4005645e1..3982c96ba90 100644
--- a/extras/libmemif/src/socket.c
+++ b/extras/libmemif/src/socket.c
@@ -107,7 +107,7 @@ memif_msg_send_hello (int fd)
msg.type = MEMIF_MSG_TYPE_HELLO;
h->min_version = MEMIF_VERSION;
h->max_version = MEMIF_VERSION;
- h->max_s2m_ring = MEMIF_MAX_M2S_RING;
+ h->max_s2m_ring = MEMIF_MAX_S2M_RING;
h->max_m2s_ring = MEMIF_MAX_M2S_RING;
h->max_region = MEMIF_MAX_REGION;
h->max_log2_ring_size = MEMIF_MAX_LOG2_RING_SIZE;