mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@48994 d073be05-634f-4543-b044-5fe20cf6d1d6
16 lines
525 B
Diff
16 lines
525 B
Diff
--- Pcap.c.orig 2008-11-25 13:29:00.000000000 +1100
|
|
+++ Pcap.c 2008-11-25 13:29:42.000000000 +1100
|
|
@@ -782,9 +782,9 @@
|
|
/* define class PcapStat */
|
|
cPcapStat = rb_funcall(rb_cStruct, rb_intern("new"), 4,
|
|
Qnil,
|
|
- INT2NUM(rb_intern("recv")),
|
|
- INT2NUM(rb_intern("drop")),
|
|
- INT2NUM(rb_intern("ifdrop")));
|
|
+ ID2SYM(rb_intern("recv")),
|
|
+ ID2SYM(rb_intern("drop")),
|
|
+ ID2SYM(rb_intern("ifdrop")));
|
|
rb_define_const(mPcap, "Stat", cPcapStat);
|
|
|
|
/* define exception classes */
|