Skip to content

Commit

Permalink
fix -m
Browse files Browse the repository at this point in the history
  • Loading branch information
bmeck committed Sep 4, 2014
1 parent e8eae8b commit 50f0471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/iptables/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ exports.processCommonRuleSpecs = function (options) {
var args = [];

if (options.comment != null) {
args.push('--comment', String(options.comment).slice(0,255).replace(/[^A-Za-z_]/g,'\\$&'));
args.push('-m', 'comment', '--comment', String(options.comment).slice(0,255).replace(/[^A-Za-z_]/g,'\\$&'));
}

manage_arg(options.protocol, '--protocol', args);
Expand Down

0 comments on commit 50f0471

Please sign in to comment.