summaryrefslogtreecommitdiffstats
path: root/hicn-light/src/hicn/config/controlAddPunting.c
diff options
context:
space:
mode:
Diffstat (limited to 'hicn-light/src/hicn/config/controlAddPunting.c')
-rw-r--r--hicn-light/src/hicn/config/controlAddPunting.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hicn-light/src/hicn/config/controlAddPunting.c b/hicn-light/src/hicn/config/controlAddPunting.c
index 61308b33b..ff441f7f0 100644
--- a/hicn-light/src/hicn/config/controlAddPunting.c
+++ b/hicn-light/src/hicn/config/controlAddPunting.c
@@ -104,12 +104,6 @@ static CommandReturn _controlAddPunting_Execute(CommandParser *parser,
*slash = '\0';
}
- if (len == 0) {
- printf("ERROR: a prefix can not be of length 0\n");
- free(addr);
- return CommandReturn_Failure;
- }
-
// allocate command payload
add_punting_command *addPuntingCommand =
parcMemory_AllocateAndClear(sizeof(add_punting_command));