summaryrefslogtreecommitdiffstats
path: root/src/vnet/ip/reass/ip4_full_reass.c
diff options
context:
space:
mode:
authorKlement Sekera <klement.sekera@gmail.com>2024-03-15 18:16:52 +0100
committerOle Tr�an <otroan@employees.org>2024-03-15 19:05:18 +0000
commit99c317a6066f825af002ca0c18caaef337ef0bcb (patch)
treeebdcc4d6551f15e8e60a4fb01677f2c49f8e61b9 /src/vnet/ip/reass/ip4_full_reass.c
parent8942e07332748658c74d365dee391b6611753e55 (diff)
ip: reassembly - return correct value
If already enabled, return 0 to indicate success. Type: fix Change-Id: I4a182e14df9b05698ad93d596a97c46a020fd54b Signed-off-by: Klement Sekera <klement.sekera@gmail.com>
Diffstat (limited to 'src/vnet/ip/reass/ip4_full_reass.c')
-rw-r--r--src/vnet/ip/reass/ip4_full_reass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/ip/reass/ip4_full_reass.c b/src/vnet/ip/reass/ip4_full_reass.c
index 7f0b8d90c12..bab7d479dcf 100644
--- a/src/vnet/ip/reass/ip4_full_reass.c
+++ b/src/vnet/ip/reass/ip4_full_reass.c
@@ -2059,7 +2059,7 @@ ip4_full_reass_enable_disable_with_refcnt (u32 sw_if_index, int is_enable)
"ip4-full-reassembly-feature",
sw_if_index, 0, 0, 0);
}
- return -1;
+ return 0;
}
void