Commit Graph

49 Commits

Author SHA1 Message Date
delphij
638d4d00fc Cleanups for gcc4:
- Use socklen_t for socket functions
 - Remove an unnecessary extern
 - Signed/unsigned cleanups

Reviewed by:	harti
2005-05-02 10:31:27 +00:00
ru
6b6b8c04f6 Expand contractions. 2005-02-13 23:45:54 +00:00
ru
114ea39c76 Fixed the misplaced $FreeBSD$. 2005-02-09 18:07:17 +00:00
ru
13fe9ea5a2 Sort sections. 2005-01-18 10:09:38 +00:00
cognet
797424d85b Use WARNS?=3 for these in the arm case for now, due to toolchain issues. 2004-05-14 13:31:21 +00:00
cperciva
788d9119de style cleanup: Remove duplicate $FreeBSD$ tags.
These files had tags after the copyright notice,
inside the comment block (incorrect, removed),
and outside the comment block (correct).

Approved by:	rwatson (mentor)
2004-02-10 20:48:08 +00:00
imp
09b6a11a99 Update to reflect eni removal 2003-12-07 08:04:05 +00:00
obrien
cdb774c40a Restore vendor ID's.
Requested by:	bde
2003-08-18 15:32:16 +00:00
obrien
1696dad5fc style.Makefile(5)'ize 2003-08-03 15:17:28 +00:00
harti
9b9c7d9a47 Due to a gcc bug, it doesn't like local variables with names like 'sin'.
Rename this for the moment. Also fix a sparc64 alignment warning.
2003-07-25 08:15:09 +00:00
harti
01a437fb73 Make ilmid WARNS=6 clean. The problem were a couple of unused function
arguments and missing consts.
2003-07-25 08:09:18 +00:00
harti
b16884f98f Don't call print_pdu() when we are not debugging. This would result
in calling fprintf() with a NULL fp. Strange enough this didn't result
in cores in stable, but results in cores now.

MFC after:	2 weeks
2003-07-18 11:17:04 +00:00
obrien
e21b490b41 Use size_t type vars in sizeof contexts. 2003-05-02 06:46:24 +00:00
mdodd
c72d68b132 - Fix function declarations.
- Provide function prototypes.

Submitted by:	 trhodes
2003-03-26 05:49:42 +00:00
mdodd
b29b2ea566 Get rid of a few caddr_t's.
Submitted by:	 trhodes
2003-03-26 04:17:13 +00:00
mdodd
d505774b05 asn_get_encoded() takes 2 arguments. 2003-03-26 04:02:51 +00:00
mdodd
e83d116ac9 Retire set_reqid(), unused since 1.2. 2003-03-26 03:41:12 +00:00
mdodd
0464bc4358 - Add const qualifier to char * arrays.
- Retire Traps array; this was obsoleted in 1.2
2003-03-26 03:19:56 +00:00
mdodd
0896fe2d51 Don't roll a private copy of basename(). 2003-03-26 02:54:56 +00:00
mdodd
caabe1a193 - Replace hexdump() with a prettier version.
- Reformat log output.
- Consolidate PDU printing code into print_pdu().
2003-03-25 22:22:19 +00:00
mdodd
0c8aecd9f9 Set pdu->pdulen in build_pdu(). 2003-03-25 22:10:01 +00:00
mdodd
870e122334 Don't compile in lmi_object_instance(). 2003-03-25 22:01:27 +00:00
mdodd
0c5a8e73cf - Handle the 'GET PREFIX' request.
- Deal with MADGE_OBJECT1 requests.
- Move code inside of switch cases to separate functions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:34:46 +00:00
mdodd
4ca84e8b5a Correct a comment.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:25:05 +00:00
mdodd
1afb56720c - Add a comment regarding SETPFX_OBJID
- Add an Objid definition for MADGE_OBJECT1
- Add an array to map ilmi_states to ASCII descriptions.

Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:22:02 +00:00
mdodd
6896c38e46 Clean up formatting.
Submitted by:	 Richard Hodges <rh@matriplex.com>
2003-03-25 20:15:01 +00:00
schweikh
d3367c5f5d Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,
especially in troff files.
2003-01-01 18:49:04 +00:00
alfred
48fe919d3e de-__P() 2002-10-10 00:32:55 +00:00
mdodd
082aa2deff Cast malloc() assignments. 2002-10-02 06:24:19 +00:00
mdodd
a06b999e84 - bzero() allocations.
- check for malloc() failures.
2002-09-30 09:00:03 +00:00
mdodd
cff1473e71 Turn warnings back on. 2002-09-30 08:59:16 +00:00
charnier
a2accd01f0 The .Nm utility 2002-07-06 19:34:18 +00:00
arr
edc5f92064 - Further replacing of UM_* macros with the appropriate function call. I
am fairly certain that this should do it and that I may now remove the
  UM_ macros from port.h.  I will, however, wait a few days to ensure
  that these can be safely removed.
2002-05-17 00:30:06 +00:00
obrien
9baf2f1b03 Default to WARNS=2.
Binary builds that cannot handle this must explicitly set WARNS=0.

Reviewed by:	mike
2001-12-04 02:19:58 +00:00
ru
86642a4ab4 - Backout botched attempt to introduce MANSECT feature.
- MAN[1-9] -> MAN.
2001-03-26 14:33:27 +00:00
ru
56b5d7535b Set the default manual section for sbin/ to 8. 2001-03-20 18:13:31 +00:00
kris
061ac20333 Correct grammar in comment. 2001-03-04 07:14:11 +00:00
asmodai
47a2266000 Fix typo: seperate -> separate.
Seperate does not exist in the english language.

Submitted to look at by:	kris
2001-02-06 10:39:38 +00:00
ru
e7b55dbcf1 man(7) -> mdoc(7). 2001-01-22 17:44:36 +00:00
charnier
71113269e0 1000000 usec -> 1 sec 0 usec; fix 2000-03-26 15:13:17 +00:00
sheldonh
ff1f324516 Remove single-space hard sentence breaks. These degrade the quality
of the typeset output, tend to make diffs harder to read and provide
bad examples for new-comers to mdoc.
2000-03-01 11:27:47 +00:00
mks
fa310f1eed Handle GetResponse errors correctly. 2000-01-15 19:51:44 +00:00
peter
76f0c923fe $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mks
7707e35f12 Modify code to be -Wall'able.
PR: bin/11315
1999-07-01 20:48:59 +00:00
imp
d0b3d805b4 Getopt(3) returns -1 not EOF. 1999-05-23 23:18:38 +00:00
mks
5f3006942f Re-write of ilmi daemon. Among the major changes, it does not use predefined
PDUs and should handle multi-request OIDs on GETs.
1999-01-20 00:56:21 +00:00
phk
231bd37d3c Two patches from the HARP people:
Various Makefile related fixes.

-Wformat fixes.

Submitted by:	Mike Spengler <mks@networkcs.com>
1998-09-17 09:35:02 +00:00
phk
40cd9ddb5a Remove blank after -I 1998-09-15 19:16:33 +00:00
phk
c3dd1fa899 Add new files for HARP3
Host ATM Research Platform (HARP), Network Computing Services, Inc.
This software was developed with the support of the Defense Advanced
Research Projects Agency (DARPA).
1998-09-15 08:23:17 +00:00