Browse Source

add --TOS to ng-client

pull/11/head
Richard Fuchs 12 years ago
parent
commit
68d94c699e
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      utils/ng-client

+ 2
- 1
utils/ng-client View File

@ -35,13 +35,14 @@ GetOptions(
'v|verbose' => \$options{'verbose'},
'strict-source' => \$options{'strict source'},
'media-handover' => \$options{'media handover'},
'TOS=i' => \$options{'TOS'},
) or die;
my $cmd = shift(@ARGV) or die;
my %packet = (command => $cmd);
for my $x (split(',', 'from-tag,to-tag,call-id,transport protocol,media address,ICE,address family')) {
for my $x (split(',', 'from-tag,to-tag,call-id,transport protocol,media address,ICE,address family,TOS')) {
defined($options{$x}) and $packet{$x} = $options{$x};
}
for my $x (split(',', 'trust address,symmetric,asymmetric,force,strict source,media handover')) {


Loading…
Cancel
Save