summaryrefslogtreecommitdiff
path: root/trafgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'trafgen.c')
-rw-r--r--trafgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/trafgen.c b/trafgen.c
index 6ae0076..b40d362 100644
--- a/trafgen.c
+++ b/trafgen.c
@@ -1084,7 +1084,7 @@ int main(int argc, char **argv)
break;
case 'd':
case 'o':
- ctx.device = xstrndup(optarg, IFNAMSIZ);
+ ctx.device = xstrdup(optarg);
break;
case 'H':
prio_high = true;