diff --git a/src/ipips/ipip-0484.md b/src/ipips/ipip-0484.md index eac2cc98..f36251f3 100644 --- a/src/ipips/ipip-0484.md +++ b/src/ipips/ipip-0484.md @@ -50,7 +50,7 @@ The proposed change is to add a `?filter-addrs` parameter to the `GET /routing/v - The value of the `filter-addrs` parameter is a comma-separated list of network transport protocol _name strings_ as defined in the [multiaddr protocol registry](https://github.com/multiformats/multiaddr/blob/master/protocols.csv), e.g. `?filter-addrs=webtransport`. - `unknown` can be be passed to include providers whose multiaddrs are unknown, e.g. `?filter-addrs=unknown`. This allows filtering providers whose multiaddrs are unknown at the time of filtering. - Multiaddrs are filtered by checking if the protocol name appears in any of the multiaddrs (logical OR). -- Negative filtering is done by prefixing the protocol name with `!`, e.g. `?filter-addrs=!quic-v1,!tcp`. Note that negative filtering is done by checking if the protocol name does not appear in any of the multiaddrs (logical AND). +- Negative filtering is done by prefixing the protocol name with `!`, e.g. to skip IPv6 and QUIC addrs: `?filter-addrs=!ip6,!quic-v1`. Note that negative filtering is done by checking if the protocol name does not appear in any of the multiaddrs (logical AND). - If no parameter is passed, the default behavior is to return the original list of addresses unchanged. - If only negative filters are provided, addresses not passing any of the negative filters are included. - If positive filters are provided, only addresses passing at least one positive filter (and no negative filters) are included.