mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Version 6 is compatible with version 5 when it comes to control commands.
MFC after: 1 week
This commit is contained in:
parent
964d172cbe
commit
731adc8682
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=221630
@ -1014,7 +1014,12 @@ g_eli_config(struct gctl_req *req, struct g_class *mp, const char *verb)
|
||||
gctl_error(req, "No '%s' argument.", "version");
|
||||
return;
|
||||
}
|
||||
if (*version != G_ELI_VERSION) {
|
||||
while (*version != G_ELI_VERSION) {
|
||||
if (G_ELI_VERSION == G_ELI_VERSION_06 &&
|
||||
*version == G_ELI_VERSION_05) {
|
||||
/* Compatible. */
|
||||
break;
|
||||
}
|
||||
gctl_error(req, "Userland and kernel parts are out of sync.");
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user