diff options
author | 2004-04-12 22:15:48 +0000 | |
---|---|---|
committer | 2004-04-12 22:15:48 +0000 | |
commit | f93e49535d53f1f1c5f8fe6961454612d20ce134 (patch) | |
tree | 689da2132d5c9da86d6640d3f64ea4f5dba3e294 | |
parent | sync w/ 0.9.7d import (one typo); (diff) | |
download | wireguard-openbsd-f93e49535d53f1f1c5f8fe6961454612d20ce134.tar.xz wireguard-openbsd-f93e49535d53f1f1c5f8fe6961454612d20ce134.zip |
spacing
-rw-r--r-- | usr.sbin/dhcrelay/dhcrelay.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/usr.sbin/dhcrelay/dhcrelay.c b/usr.sbin/dhcrelay/dhcrelay.c index fc297f60830..620899c607e 100644 --- a/usr.sbin/dhcrelay/dhcrelay.c +++ b/usr.sbin/dhcrelay/dhcrelay.c @@ -150,7 +150,7 @@ int main (argc, argv) endservent (); } remote_port = htons (ntohs (local_port) + 1); - + /* We need at least one server. */ if (!sp) { usage(); @@ -286,7 +286,6 @@ void relay (ip, packet, length, from_port, from, hfrom) inet_ntoa (sp -> to.sin_addr)); } } - } void @@ -346,12 +345,12 @@ char *print_hw_addr (htype, hlen, data) s += strlen (s); slen -= (strlen(s) + 1); - *s++ = ':'; + *s++ = ':'; } *--s = 0; } return habuf; - bad: + bad: strlcpy (habuf, "<null>", sizeof habuf); return habuf; |