aboutsummaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--options.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/options.c b/options.c
index ca9b9e1..ebccd7f 100644
--- a/options.c
+++ b/options.c
@@ -3436,11 +3436,11 @@ add_option (struct options *options,
else if (streq (p[0], "lladdr") && p[1])
{
VERIFY_PERMISSION (OPT_P_UP);
- if (ip_addr_dotted_quad_safe (p[1])) /* FQDN -- IP address only */
+ if (mac_addr_safe (p[1])) /* MAC address only */
options->lladdr = p[1];
else
{
- msg (msglevel, "lladdr parm '%s' must be an IP address", p[1]);
+ msg (msglevel, "lladdr parm '%s' must be a MAC address", p[1]);
goto err;
}
}