diff options
| author | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-03-09 13:52:39 +0000 |
|---|---|---|
| committer | Jordan K. Hubbard <jkh@FreeBSD.org> | 1998-03-09 13:52:39 +0000 |
| commit | cb577245cbbdbd4aa8a89b0d040ffe10ef48b323 (patch) | |
| tree | c978c02f0edb13dd83b69810c21d4fef9bbd57f1 /usr.sbin/pppctl | |
| parent | e4591b2fa950e82b927751596b3a6712ac0349d4 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pppctl')
| -rw-r--r-- | usr.sbin/pppctl/pppctl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pppctl/pppctl.c b/usr.sbin/pppctl/pppctl.c index 584ab740e634..85f953c2644c 100644 --- a/usr.sbin/pppctl/pppctl.c +++ b/usr.sbin/pppctl/pppctl.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id$ + * $Id: pppctl.c,v 1.1.2.3 1998/01/26 20:00:50 brian Exp $ */ #include <sys/types.h> @@ -272,7 +272,7 @@ main(int argc, char **argv) memset(&ifsin, '\0', sizeof ifsin); if (strspn(host, "0123456789.") == hlen) { - if (!inet_aton(host, (struct in_addr *)&ifsin.sin_addr.s_addr)) { + if (!inet_aton(host, &ifsin.sin_addr)) { fprintf(stderr, "Cannot translate %s\n", host); return 1; } |
