Method: Capp#savefile_minor_version

Defined in:
ext/capp/capp.c

#savefile_minor_versionInteger

When called on a capture instance created from a savefile, returns the minor version of the savefile. When called on a live capture instance it returns a meaningless value.

Returns:

  • (Integer)


928
929
930
931
932
933
934
935
936
# File 'ext/capp/capp.c', line 928

static VALUE
capp_savefile_minor_version(VALUE self)
{
    pcap_t *handle;

    GetCapp(self, handle);

    return INT2NUM(pcap_minor_version(handle));
}