Skip to content

Commit

Permalink
remove unused --dst flag
Browse files Browse the repository at this point in the history
  • Loading branch information
boratanrikulu committed May 11, 2024
1 parent b6271fa commit 3283e81
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions cmd/durdur/drop.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,6 @@ func dropUndropParams(c *cli.Context) (srcIPs []net.IP, dnss []string, err error

func dropUndropFlags() []cli.Flag {
return []cli.Flag{
&cli.StringSliceFlag{
Name: "destination",
Aliases: []string{"dst"},
Usage: "destination address value of an IPv4 packet",
},
&cli.StringSliceFlag{
Name: "source",
Aliases: []string{"src"},
Expand Down
2 changes: 1 addition & 1 deletion cmd/durdur/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
func ListCmd() *cli.Command {
return &cli.Command{
Name: "list",
Usage: "List all blocked values",
Usage: "Lists all blocked values",
Subcommands: []*cli.Command{
{
Name: "src",
Expand Down

0 comments on commit 3283e81

Please sign in to comment.