diff options
author | nate <nate@FreeBSD.org> | 1996-06-08 06:01:29 +0000 |
---|---|---|
committer | nate <nate@FreeBSD.org> | 1996-06-08 06:01:29 +0000 |
commit | c8e7c06a293dc0edc05652ba5598309fa798e818 (patch) | |
tree | c951575ff78d89d491e671b4f5d2c320eac9c73c /sys/net | |
parent | 868a754d52f804f73cfb5a0aba9e612fb19a39b8 (diff) | |
download | FreeBSD-src-c8e7c06a293dc0edc05652ba5598309fa798e818.zip FreeBSD-src-c8e7c06a293dc0edc05652ba5598309fa798e818.tar.gz |
When uname() returns the system name, try to use the unqualified domain
name (ie; strip off the domain). Given a hostname 'fooey.bar.com', the
previous code returned a system name of 'fooey.ba', instead of the more
correct 'fooey'. SCO uses 'uname' for many things, including some of
it's socket code so this patch is necessary for running certain legacy
SCO apps. :)
A variant of this code has been running on my box for 2 months now.
Diffstat (limited to 'sys/net')
0 files changed, 0 insertions, 0 deletions