From 38e2e85132e73eb70e1c46ab72b4e21d014bb809 Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Mon, 29 Jun 2009 17:20:19 -0700 Subject: [PATCH] add RTF constants --- bindings/ruby/rbsigar.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bindings/ruby/rbsigar.c b/bindings/ruby/rbsigar.c index 2852faf1..f41712a6 100644 --- a/bindings/ruby/rbsigar.c +++ b/bindings/ruby/rbsigar.c @@ -575,6 +575,10 @@ static void Init_rbsigar_constants(VALUE rclass) RB_SIGAR_CONST_INT(TCP_BOUND); RB_SIGAR_CONST_INT(TCP_UNKNOWN); + RB_SIGAR_CONST_INT(RTF_UP); + RB_SIGAR_CONST_INT(RTF_GATEWAY); + RB_SIGAR_CONST_INT(RTF_HOST); + RB_SIGAR_CONST_STR(NULL_HWADDR); }