Hi Martin,

tshark already does that:
$ tshark -V -i wlan0 -i lo
Frame 1: 66 bytes on wire (528 bits), 66 bytes captured (528 bits) on
interface 0
    Interface id: 0
    WTAP_ENCAP: 1
    Arrival Time: Jun 15, 2013 12:28:14.774343000 GALT
....
Frame 2: 98 bytes on wire (784 bits), 98 bytes captured (784 bits) on
interface 1
    Interface id: 1
    WTAP_ENCAP: 1
    Arrival Time: Jun 15, 2013 12:28:14.783552000 GALT
...

Cheers,
Balint



2013/6/15 martin f krafft <madd...@debian.org>:
> Package: tshark
> Version: 1.8.7-1
> Severity: wishlist
>
> With -i any or multiple -i options, it would be great if tshark
> could actually tell me on which iface a packet was received/seen.
>
> -- System Information:
> Debian Release: jessie/sid
>   APT prefers unstable
>   APT policy: (500, 'unstable'), (1, 'experimental')
> Architecture: amd64 (x86_64)
> Foreign Architectures: i386
>
> Kernel: Linux 3.10-rc4-amd64 (SMP w/4 CPU cores)
> Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
> Versions of packages tshark depends on:
> ii  libc6             2.17-5
> ii  libglib2.0-0      2.36.3-1
> ii  libpcap0.8        1.4.0-1
> ii  libwireshark2     1.8.7-1
> ii  libwiretap2       1.8.7-1
> ii  libwsutil2        1.8.7-1
> ii  wireshark-common  1.8.7-1
> ii  zlib1g            1:1.2.8.dfsg-1
>
> tshark recommends no packages.
>
> tshark suggests no packages.
>
> -- no debconf information
>
>
> --
>  .''`.   martin f. krafft <madduck@d.o>      Related projects:
> : :'  :  proud Debian developer               http://debiansystem.info
> `. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
>   `-  Debian - when you have better things to do than fixing systems


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to