Permalink
Browse files

Fix range values of ss-capacity and ss-max-payload

  • Loading branch information...
ydahhrk committed Dec 22, 2018
1 parent 061231b commit f7f8ad149b245f19a7880bd81f49728c8df54647
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/common/common-global.c
@@ -271,18 +271,23 @@ static struct global_field global_fields[] = {
.doc = "Inactive milliseconds after which to force a session sync.",
.offset = offsetof(struct globals, nat64.joold.flush_deadline),
.xt = XT_NAT64,
.min = 0,
.max = MAX_U32,
}, {
.name = "ss-capacity",
.type = &gt_uint32,
.doc = "Maximim number of queuable entries.",
.offset = offsetof(struct globals, nat64.joold.capacity),
.xt = XT_NAT64,
.min = 0,
.max = MAX_U32,
}, {
.name = "ss-max-payload",
.type = &gt_uint32,
.doc = "Maximum amount of bytes joold should send per packet.",
.offset = offsetof(struct globals, nat64.joold.max_payload),
.xt = XT_NAT64,
.min = 0,
.max = MAX_U16,
},
{ NULL },

0 comments on commit f7f8ad1

Please sign in to comment.