summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authordteske <dteske@FreeBSD.org>2013-11-20 22:12:21 +0000
committerdteske <dteske@FreeBSD.org>2013-11-20 22:12:21 +0000
commit2ca200e7c5f3a446061c709820dd4962e77498fd (patch)
treea4ba14b2d3ccac93389f349262245a20b308dc77 /usr.sbin
parentc1a5bcc9fdcb50addae78ec4e1ad63afd355b1bb (diff)
downloadFreeBSD-src-2ca200e7c5f3a446061c709820dd4962e77498fd.zip
FreeBSD-src-2ca200e7c5f3a446061c709820dd4962e77498fd.tar.gz
Update function description for API tool:
bsdconfig includes -dF f_validate_hostname
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bsdconfig/share/media/tcpip.subr7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/bsdconfig/share/media/tcpip.subr b/usr.sbin/bsdconfig/share/media/tcpip.subr
index aaf237b..edbdb7e 100644
--- a/usr.sbin/bsdconfig/share/media/tcpip.subr
+++ b/usr.sbin/bsdconfig/share/media/tcpip.subr
@@ -110,10 +110,11 @@ f_struct_define DHCP_LEASE \
# begin or end with a hyphen).
# 3 One or more individual labels within the hostname are null.
#
-# f_dialog_validate_hostname $hostname
+# To call this function and display an appropriate error message to the user
+# based on the above error codes, use the following function defined in
+# dialog.subr:
#
-# If the hostname is determined to be invalid, the appropriate error will be
-# displayed using the f_show_msg function.
+# f_dialog_validate_hostname $hostname
#
f_validate_hostname()
{
OpenPOWER on IntegriCloud