From 13762fce1926efb6b553bf20df256ccf6586f518 Mon Sep 17 00:00:00 2001 From: Bjørn Mork Date: Fri, 15 May 2015 10:25:29 +0200 Subject: ripe-atlas-fw: imported version 4670 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bjørn Mork --- miscutils/perd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'miscutils/perd.c') diff --git a/miscutils/perd.c b/miscutils/perd.c index 3a7b496..95707f9 100644 --- a/miscutils/perd.c +++ b/miscutils/perd.c @@ -7,6 +7,7 @@ * run as root, but NOT setuid root * * Copyright 1994 Matthew Dillon (dillon@apollo.west.oic.com) + * Copyright (c) 2014 RIPE NCC * (version 2.3.2) * Vladimir Oleynik (C) 2002 * @@ -1174,8 +1175,8 @@ static void find_eos(char *cp, char **ncpp) } -#define ATLAS_NARGS 20 /* Max arguments to a built-in command */ -#define ATLAS_ARGSIZE 512 /* Max size of the command line */ +#define ATLAS_NARGS 40 /* Max arguments to a built-in command */ +#define ATLAS_ARGSIZE 4096 /* Max size of the command line */ static int atlas_run(char *cmdline) { -- cgit v1.2.3