Skip to content

Fix issue with IpAddress where to_s only return the ip address, and we need to_string #98

@fr3nch13

Description

@fr3nch13

For IP Addresses, we need to do the comparison using to_string instead of to_s so we also get the cidr.

https://github.com/ipaddress-gem/ipaddress/blob/064502c6a943f983cabea38fccdb528ad9469aec/lib/ipaddress/ipv4.rb#L179

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions