fix: can.fuzz now expects an hexadecimal frame id (thanks musafir)

This commit is contained in:
Simone Margaritelli 2024-08-27 09:25:40 +02:00
commit 1c56622cde
2 changed files with 5 additions and 4 deletions

View file

@ -102,7 +102,7 @@ func NewCanModule(s *session.Session) *CANModule {
}))
mod.AddHandler(session.NewModuleHandler("can.fuzz ID_OR_NODE_NAME", `(?i)^can\.fuzz\s+(.+)$`,
"If an integer frame ID is specified, create a randomized version of it and inject it. If a node name is specified, a random message for the given node will be instead used.",
"If an hexadecimal frame ID is specified, create a randomized version of it and inject it. If a node name is specified, a random message for the given node will be instead used.",
func(args []string) error {
if !mod.Running() {
return errors.New("can module not running")