Changeset 065cab9 for tools


Ignore:
Timestamp:
02/09/15 12:37:58 (6 years ago)
Author:
Richard Sanger <rsangerarj@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
6a1d288
Parents:
6fc1ae7
Message:

Use correct POSIX expansion "$@" rather than $@

With some shells and older bash versions $@ will not have the expected behaviour
when spaces are involved.
Such as:
tracesummary -f "udp or tcp" int:eth0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/tracestats/tracesummary

    r3bfeb7d r065cab9  
    1818                --filter 'port domain' \
    1919                --filter 'icmp[icmptype]=icmp-echoreply' \
    20                 $@
     20                "$@"
Note: See TracChangeset for help on using the changeset viewer.