Skip to content

Commit

Permalink
fix: flow description should accept token "assigned"
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchennn committed Nov 29, 2023
1 parent 4fe9ca3 commit d087782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/forwarder/flowdesc.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func ParseFlowDesc(s string) (*FlowDesc, error) {
}

func ParseFlowDescIPNet(s string) (*net.IPNet, error) {
if s == "any" {
if s == "any" || s == "assigned" {
return &net.IPNet{
IP: net.IPv6zero,
Mask: net.CIDRMask(0, 128),
Expand Down

0 comments on commit d087782

Please sign in to comment.