Ticket #17387: patch-Pcap.c.diff
File patch-Pcap.c.diff, 525 bytes (added by nathan@…, 16 years ago) |
---|
-
Pcap.c
old new 782 782 /* define class PcapStat */ 783 783 cPcapStat = rb_funcall(rb_cStruct, rb_intern("new"), 4, 784 784 Qnil, 785 I NT2NUM(rb_intern("recv")),786 I NT2NUM(rb_intern("drop")),787 I NT2NUM(rb_intern("ifdrop")));785 ID2SYM(rb_intern("recv")), 786 ID2SYM(rb_intern("drop")), 787 ID2SYM(rb_intern("ifdrop"))); 788 788 rb_define_const(mPcap, "Stat", cPcapStat); 789 789 790 790 /* define exception classes */