ifupdown: More specific error message.
Signed-off-by: Maximilian Wilhelm <max@sdn.clinic>
This commit is contained in:
parent
a3d11ded43
commit
88f25e41c6
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ handle_inherit(struct lif_dict *collection, const char *filename, size_t lineno,
|
||||||
|
|
||||||
if (!lif_config.allow_any_iface_as_template && !parent->is_template)
|
if (!lif_config.allow_any_iface_as_template && !parent->is_template)
|
||||||
{
|
{
|
||||||
report_error(filename, lineno, "iface %s: could not inherit from %ss: inheritence from interface not allowed",
|
report_error(filename, lineno, "iface %s: could not inherit from %ss: inheritence from non-template interface not allowed",
|
||||||
cur_iface->ifname, target);
|
cur_iface->ifname, target);
|
||||||
/* Mark this interface as errornous but carry on */
|
/* Mark this interface as errornous but carry on */
|
||||||
cur_iface->has_config_error = true;
|
cur_iface->has_config_error = true;
|
||||||
|
|
Loading…
Reference in a new issue