summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ctld/parse.y
diff options
context:
space:
mode:
authortrasz <trasz@FreeBSD.org>2014-11-29 15:34:17 +0000
committertrasz <trasz@FreeBSD.org>2014-11-29 15:34:17 +0000
commit077d08af55ff28734a05d3f5d6383a4b82c4c529 (patch)
tree92182f6f41bd92b22bf7714d2a3e94d66ab6dcf8 /usr.sbin/ctld/parse.y
parentaa126c68f3102918dd0447c491a82c1d42d4d06e (diff)
downloadFreeBSD-src-077d08af55ff28734a05d3f5d6383a4b82c4c529.zip
FreeBSD-src-077d08af55ff28734a05d3f5d6383a4b82c4c529.tar.gz
MFC r273816:
Simplify code; no functional changes. Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'usr.sbin/ctld/parse.y')
-rw-r--r--usr.sbin/ctld/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctld/parse.y b/usr.sbin/ctld/parse.y
index 2713f17..248d430 100644
--- a/usr.sbin/ctld/parse.y
+++ b/usr.sbin/ctld/parse.y
@@ -238,7 +238,7 @@ auth_group_auth_type: AUTH_TYPE STR
{
int error;
- error = auth_group_set_type_str(auth_group, $2);
+ error = auth_group_set_type(auth_group, $2);
free($2);
if (error != 0)
return (1);
@@ -358,7 +358,7 @@ portal_group_discovery_filter: DISCOVERY_FILTER STR
{
int error;
- error = portal_group_set_filter_str(portal_group, $2);
+ error = portal_group_set_filter(portal_group, $2);
free($2);
if (error != 0)
return (1);
@@ -480,7 +480,7 @@ target_auth_type: AUTH_TYPE STR
}
target->t_auth_group->ag_target = target;
}
- error = auth_group_set_type_str(target->t_auth_group, $2);
+ error = auth_group_set_type(target->t_auth_group, $2);
free($2);
if (error != 0)
return (1);
OpenPOWER on IntegriCloud