return(SUB_NORMAL);
}
-/* Function Name: CanonicalizeHostname
- * Description: This function takes a machine name and canonicalize's it.
- * Arguments: machine - name of the machine to work on.
- * Returns: new name or NULL if nameserver returns error
- */
-
-char *
-CanonicalizeHostname(machine)
-char *machine;
-{
- struct hostent *hostinfo;
-
- hostinfo = gethostbyname(machine);
-/* If this fails then we just return what we were passed. */
- if (hostinfo != (struct hostent *) NULL)
- machine = hostinfo->h_name;
- return (machine);
-}
-
/* Function Name: Strsave
* Description: save a string.
* Arguments: string - the string to save.