tcpip.c (79065) | tcpip.c (79304) |
---|---|
1/* | 1/* |
2 * $FreeBSD: head/usr.sbin/sysinstall/tcpip.c 79065 2001-07-02 00:18:04Z dd $ | 2 * $FreeBSD: head/usr.sbin/sysinstall/tcpip.c 79304 2001-07-05 09:51:09Z kris $ |
3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * Copyright (c) 1996 7 * Jordan K. Hubbard. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 97 unchanged lines hidden (view full) --- 108 109#define _validByte(b) ((b) >= 0 && (b) <= 255) 110 111/* whine */ 112static void 113feepout(char *msg) 114{ 115 beep(); | 3 * 4 * Copyright (c) 1995 5 * Gary J Palmer. All rights reserved. 6 * Copyright (c) 1996 7 * Jordan K. Hubbard. All rights reserved. 8 * 9 * Redistribution and use in source and binary forms, with or without 10 * modification, are permitted provided that the following conditions --- 97 unchanged lines hidden (view full) --- 108 109#define _validByte(b) ((b) >= 0 && (b) <= 255) 110 111/* whine */ 112static void 113feepout(char *msg) 114{ 115 beep(); |
116 msgConfirm(msg); | 116 msgConfirm("%s", msg); |
117} 118 119/* Verify IP address integrity */ 120static int 121verifyIP(char *ip, unsigned long *out) 122{ 123 long a, b, c, d; 124 char *endptr; --- 527 unchanged lines hidden --- | 117} 118 119/* Verify IP address integrity */ 120static int 121verifyIP(char *ip, unsigned long *out) 122{ 123 long a, b, c, d; 124 char *endptr; --- 527 unchanged lines hidden --- |