diff options
author | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:25:29 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2015-05-15 10:25:29 +0200 |
commit | 13762fce1926efb6b553bf20df256ccf6586f518 (patch) | |
tree | 7ac288e17edd643380c1e18dda5b49d02839fa85 /miscutils/perd.c | |
parent | 73e699faf130d0fc0f2f076d95db9dbd7f42a8b6 (diff) |
ripe-atlas-fw: imported version 46704670
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Diffstat (limited to 'miscutils/perd.c')
-rw-r--r-- | miscutils/perd.c | 5 |
1 files changed, 3 insertions, 2 deletions
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 <atlas@ripe.net> * (version 2.3.2) * Vladimir Oleynik <dzo@simtreas.ru> (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) { |