Wireshark-bugs: [Wireshark-bugs] [Bug 7725] New: Add get_filter method to Wireshark's Lua interf
Date: Thu, 13 Sep 2012 11:40:31 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7725

           Summary: Add get_filter method to Wireshark's Lua interface
           Product: Wireshark
           Version: 1.8.0
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Low
         Component: Wireshark
        AssignedTo: bugzilla-admin@xxxxxxxxxxxxx
        ReportedBy: niels@xxxxxxxxxx


Build Information:
wireshark 1.8.3 (SVN Rev 44868 from /trunk-1.8)

Copyright 1998-2012 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.10, with Cairo 1.10.2, with Pango 1.30.0, with
GLib 2.32.3, with libpcap, with libz 1.2.3.4, without POSIX capabilities, with
SMI 0.4.8, with c-ares 1.7.5, with Lua 5.2, without Python, with GnuTLS
2.12.14,
with Gcrypt 1.5.0, with MIT Kerberos, with GeoIP, with PortAudio <= V18, with
AirPcap.

Running on Linux 3.2.0-30-generic, with locale en_US.UTF-8, with libpcap
version
1.1.1, with libz 1.2.3.4, GnuTLS 2.12.14, Gcrypt 1.5.0, without AirPcap.

Built using gcc 4.6.3.

--
This patch adds a 'get_filter' Lua method to compliment the existing
'set_filter' method.  'get_filter' returns the current packet filter from the
GUI as a string.  If called from the CLI, a Lua error is raised.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.