svn commit: r258407 - head/usr.sbin/bsdconfig/share/media
Devin Teske
dteske at FreeBSD.org
Wed Nov 20 22:12:22 UTC 2013
Author: dteske
Date: Wed Nov 20 22:12:21 2013
New Revision: 258407
URL: http://svnweb.freebsd.org/changeset/base/258407
Log:
Update function description for API tool:
bsdconfig includes -dF f_validate_hostname
Modified:
head/usr.sbin/bsdconfig/share/media/tcpip.subr
Modified: head/usr.sbin/bsdconfig/share/media/tcpip.subr
==============================================================================
--- head/usr.sbin/bsdconfig/share/media/tcpip.subr Wed Nov 20 22:11:42 2013 (r258406)
+++ head/usr.sbin/bsdconfig/share/media/tcpip.subr Wed Nov 20 22:12:21 2013 (r258407)
@@ -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()
{
More information about the svn-src-head
mailing list