• 10 dec 2017: forum version update. In case of issues use this topic.
  • 30 nov 2017: pilight moved servers. In case of issues use this topic.
Hello There, Guest! Login Register

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
IP addresses not accepted as option value for an action
It appears that an action argument that accepts a string,  causes an error when the string is an ip address. To be more accurate, if such as string contains more than two dots, the following error occurs.

[Jun 16 14:55:12:873035] pilight-daemon: ERROR: rule #2 invalid: variable "" is invalid

A simple workaround is defining hostnames for the IP addresses and use those for the action, so for me this is not something that has to be fixed immediately.
Have you enclosed the host inside quotes to enforce string parsing?
Should be fixed in latest staging.
Sorry, completely forgot to confirm that this issue has indeed been fixed.

Possibly Related Threads...
Thread Author Replies Views Last Post
  action arguments not being checked at startup Niek 17 2,255 07-15-2018, 10:51 AM
Last Post: curlymo
  Enhanced lua label action Niek 5 864 07-04-2018, 05:28 PM
Last Post: curlymo

Forum Jump:

Browsing: 1 Guest(s)