summaryrefslogtreecommitdiff
path: root/ext/socket/option.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/socket/option.c')
-rw-r--r--ext/socket/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/socket/option.c b/ext/socket/option.c
index e09cb79..c0e28b7 100644
--- a/ext/socket/option.c
+++ b/ext/socket/option.c
@@ -318,7 +318,7 @@ sockopt_inspect(VALUE self)
rb_str_catf(ret, " optname:%d", optname);
}
else {
- level_id = intern_level(level);
+ level_id = intern_iplevel(level);
if (level_id)
rb_str_catf(ret, " %s", rb_id2name(level_id));
else