netsniff-ng: Use correct parameters to show_frame_hdr()
commitd1eef162252faf60b2acb19a1df70c1a5e13ecd2
authorTobias Klauser <tklauser@distanz.ch>
Thu, 14 Aug 2014 16:27:25 +0000 (14 18:27 +0200)
committerTobias Klauser <tklauser@distanz.ch>
Thu, 14 Aug 2014 16:38:27 +0000 (14 18:38 +0200)
tree7fa4ffd076fa2b0fa7d9811523ef3b48fd40ecad
parent0fab564a98d1a54bc6b6eeac57f41ce182c38018
netsniff-ng: Use correct parameters to show_frame_hdr()

Commit edca6174b09 ("dissector: Restore paket type if capturing from
nlmon device") changed the signature of show_frame_hdr(). The call to
this function was not updated in the !HAVE_TPACKET3 part of netsniff-ng
introduced in commit 97e6f994785c ("netsniff-ng: Restore tpacket v2
capturing"), causing a compile error. Fix this by providing the correct
parameters to show_frame_hdr() also in this case.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
netsniff-ng.c