Skip to content
Permalink
Browse files

sconex/SocketAddress: Expose valid_for_connect,bind

  • Loading branch information...
sconemad committed Sep 9, 2019
1 parent 5cb87fe commit 2076dd35d4c1ab7492a11594c2db758a143e90d1
Showing with 3 additions and 1 deletion.
  1. +3 −1 sconex/SocketAddress.cpp
@@ -123,7 +123,9 @@ ScriptRef* SocketAddress::script_op(const ScriptAuth& auth,
default: return ScriptString::new_ref("unknown");
}
}
}
if (name == "valid_for_connect") return ScriptBool::new_ref(valid_for_connect());
if (name == "valid_for_bind") return ScriptBool::new_ref(valid_for_bind());
}

return ScriptObject::script_op(auth,ref,op,right);
}

0 comments on commit 2076dd3

Please sign in to comment.
You can’t perform that action at this time.