Skip to content

Commit ac7bf56

Browse files
authored
Merge pull request #303 from CESNET/fix-raw-interface-param-converting
Fix raw interface parameters quoting
2 parents 4e17018 + 1b8efe4 commit ac7bf56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

init/config2args.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,14 +280,14 @@ def process_input_raw_plugin(settings):
280280

281281
params = []
282282
for interface in interfaces_list:
283-
param = f"-i \"raw;ifc={interface}\""
283+
param = f"-i \"raw;ifc={interface}"
284284

285285
# Add blocks_count and packets_in_block only if they have a value
286286
if blocks_count:
287287
param += f";blocks={blocks_count}"
288288
if packets_in_block:
289289
param += f";pkts={packets_in_block}"
290-
290+
param += "\""
291291
params.append(param)
292292

293293
return " ".join(params)

0 commit comments

Comments
 (0)