Skip to content
#

routing

Here are 2,071 public repositories matching this topic...

🦄 🎃 👻 V2Ray 路由规则文件加强版,可代替 V2Ray 官方 geoip.dat 和 geosite.dat,兼容 Shadowsocks-windows、Xray-core、Trojan-Go 和 leaf。Enhanced edition of V2Ray rules dat files, compatible with Xray-core, Shadowsocks-windows, Trojan-Go and leaf.

  • Updated Feb 4, 2022
mhbdev
mhbdev commented Apr 8, 2021

I have defined this route using Fluro. exchange/:pair

There is a problem! I want :pair to be optional. If client types https://host:port/exchange/BNB_BTC everything goes fine. but assume the user is looking for https://host:port/exchange and he confronts with 404 error cause there is no such route/path.

I mean something like exchange/{:pair}.

sworleys
sworleys commented Mar 11, 2020

In zebra/rt_netlink.c, we call vrf_lookup_by_id() when we get a route to find the associated vrf object for that table.

This should be improved to be a hash table mapping of Table ID to zebra_vrf object.

You would need to create a hash table probably in zebra/zebra_vrf.h that uses the table_id hash as a key and then update the code in vrf_lookup_by_id() to use this.

This shoul

Improve this page

Add a description, image, and links to the routing topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the routing topic, visit your repo's landing page and select "manage topics."

Learn more