summaryrefslogtreecommitdiff
path: root/ext/socket/ancdata.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/ancdata.c')
-rw-r--r--ext/socket/ancdata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/ancdata.c b/ext/socket/ancdata.c
index 06ec546..27b15b2 100644
--- a/ext/socket/ancdata.c
+++ b/ext/socket/ancdata.c
@@ -605,7 +605,7 @@ ancillary_inspect(VALUE self)
else
rb_str_catf(ret, "family:%d", family);
- level_id = intern_level(level);
+ level_id = intern_iplevel(level);
if (level_id)
rb_str_catf(ret, " %s", rb_id2name(level_id));
else