Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug Report] daed的路由填写似乎不接受IPv6地址/CIDR #434

Closed
3 tasks done
Glucy-2 opened this issue May 7, 2024 · 3 comments
Closed
3 tasks done

[Bug Report] daed的路由填写似乎不接受IPv6地址/CIDR #434

Glucy-2 opened this issue May 7, 2024 · 3 comments

Comments

@Glucy-2
Copy link

Glucy-2 commented May 7, 2024

Checks

  • I have searched the existing issues
  • I have read the documentation
  • Is it your first time sumbitting an issue

Current Behavior

在 daed 中填写路由时,如果 sipdip 中包含 IPv6 地址 / CIDR,则 daed 会拒绝此规则

Expected Behavior

daed 能够正常设置 IPv6 路由

Steps to Reproduce

  1. 安装并启动 daed
  2. 在路由中填写包含 IPv6 地址 / CIDR 的路由规则,例如如下规则:
dip(2001:da8::/32) -> direct

会报错:

bad current routing: 
line 30:8 dip(2001:da8::/32) -> direct
                  ^: no viable alternative at input 'dip(2001:'

如果填写:

dip('2001:da8::/32') -> direct

会报错:

panic occurred: unexpected

Environment

  • Daed version: v0.4.1
  • OS (e.g cat /etc/os-release): PVE (基于 Debian 12)
  • Kernel (e.g. uname -a): 6.8.4-2-pve
  • Others: NA

Anything else?

No response

@dae-prow
Copy link
Contributor

dae-prow bot commented May 7, 2024

Thanks for opening this issue!

@EkkoG
Copy link
Contributor

EkkoG commented Sep 29, 2024

麻烦尝试一下最新版,我这边没有复现这个问题

@mzz2017
Copy link
Contributor

mzz2017 commented Sep 29, 2024

这个写的时候要加引号

@wanlce wanlce closed this as completed Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants