summaryrefslogtreecommitdiffstats
path: root/sbin/hastd
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2011-03-21 15:08:10 +0000
committerpjd <pjd@FreeBSD.org>2011-03-21 15:08:10 +0000
commit2b67f741a96cc471ce3164d6af8b54b89f1107ea (patch)
tree6998cd8b41b7637c257b719ea291674bb6ebdd3b /sbin/hastd
parentd3221d1a456368b05786dbf72badd0488bc12276 (diff)
downloadFreeBSD-src-2b67f741a96cc471ce3164d6af8b54b89f1107ea.zip
FreeBSD-src-2b67f741a96cc471ce3164d6af8b54b89f1107ea.tar.gz
Remove stale comment. Yes, it is valid to set role back to init.
MFC after: 1 week
Diffstat (limited to 'sbin/hastd')
-rw-r--r--sbin/hastd/control.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/hastd/control.c b/sbin/hastd/control.c
index b0f38d6..6cf30b3 100644
--- a/sbin/hastd/control.c
+++ b/sbin/hastd/control.c
@@ -327,7 +327,7 @@ control_handle(struct hastd_config *cfg)
if (cmd == HASTCTL_SET_ROLE) {
role = nv_get_uint8(nvin, "role");
switch (role) {
- case HAST_ROLE_INIT: /* Is that valid to set, hmm? */
+ case HAST_ROLE_INIT:
case HAST_ROLE_PRIMARY:
case HAST_ROLE_SECONDARY:
break;
OpenPOWER on IntegriCloud