Commit Graph

387 Commits

Author SHA1 Message Date
martti b6a507dfee Fix syntax rule (PR#16499). 2002-09-25 12:49:40 +00:00
martti 15e6ca78da Fix ipmon problems on 64-bit platforms (PR#17403 and PR#17404). 2002-09-25 06:43:17 +00:00
thorpej c00254d517 * Add -D datalinktype to set the data link type to use when
capturing packets.
* Add -L to list the known data link types and exit.

From David Young <dyoung@ojctech.com>, with some minor changes by me.
2002-09-22 16:59:16 +00:00
mycroft ace9bd9c2e select() -> poll(), nanosleep() 2002-09-20 15:00:06 +00:00
uwe fd3534dbc5 Nit-pick: use || instead of | in the test. Ok by simonb. 2002-09-20 14:09:45 +00:00
martti 38041d0ad0 Print newline after pid (reapply revision 1.10). 2002-09-19 09:03:09 +00:00
martti 3a5ea42f37 We don't need this file 2002-09-19 08:21:53 +00:00
martti 5b3c5dc17f Make this compile 2002-09-19 08:11:38 +00:00
martti 7bfcc4bc66 Resync with official IPF 2002-09-19 08:11:13 +00:00
martti 1c7ea364cc Add __attribute__((__unused__)) to SCCS and RCS IDs 2002-09-19 08:10:38 +00:00
martti 87f18f024e Upgraded IPFilter to 3.4.29 2002-09-19 08:08:14 +00:00
martti 1b37ad3011 Import IPFilter 3.4.29 2002-09-19 07:56:23 +00:00
dbj 80437c10e3 add a HISTORY section, mentioning MkLinux 2002-09-17 08:14:22 +00:00
dbj 0270296979 when creating a partition, set bzb bits appropriate for netbsd root 2002-09-17 07:42:55 +00:00
jdolecek d89a42dbe9 document couple ipnat flags, which were not mentioned previously 2002-09-12 06:58:13 +00:00
itojun 12bcaf9dda decode mdns/llmnr packet (port 5353). sync w/ tcpdump.org 2002-09-10 01:47:31 +00:00
dbj 1efa014b91 use %ld instead of %d to print long value 2002-09-09 13:19:28 +00:00
dbj a587e4b1e8 remove menu and command line options to list all devices since they
only work on linux.  Update documentation to match.
2002-09-09 13:07:36 +00:00
dbj 538e2d34af use device instead of name to describe the --list argument. 2002-09-09 11:43:27 +00:00
wiz 9235156b82 Sort options. Some mdoc improvements. 2002-09-09 11:33:31 +00:00
dbj 72af4e4c96 fix typo in --list argument name 2002-09-09 11:29:56 +00:00
dbj 1436ee17e3 attempt to update pdisk man page to more correctly reflect program operation
. added long options
. noted that pdisk cannot yet create netbsd partitions
. renamed -p to -f and documented
. changed description of -L to note that it is off by default
2002-09-09 11:26:29 +00:00
dbj a46307b17e default fflag (read HFS volume name ) option is now off
remove the non-functional -p/--pname argument, replace it with -f/--fname
add -a (use abbreviations) and -L (use logical offsets) to getopt parse list
thanks to wiz for noticing inconsistencies
2002-09-09 10:46:59 +00:00
dbj 8d3827bfb7 tweak error reporting when looking for hfs volume name 2002-09-09 10:38:55 +00:00
dbj f89c2d2361 fix defines that set up lseek usage for reading media
to correctly handle large filesystems
re-enable some error reporting on media reads
2002-09-09 10:35:03 +00:00
dbj 28d41a2531 use getopt_long on netbsd as well as linux 2002-09-08 23:49:29 +00:00
dbj 47b77fc755 improved wording on explanation for disabling linux max partition warning. 2002-09-08 23:25:43 +00:00
dbj b3ad08828d disable warnings about linux only handling 15 entries.
This check was found to not exist in the linux fdisk-0.1
sources, which are under current linuxppc use.  Also,
NetBSD users probably care less about warnings for bugs
in old versions of linux.
2002-09-08 23:18:11 +00:00
dbj 5038245b63 use sbBlkSize when calculating sbBlkCount 2002-09-08 16:17:45 +00:00
itojun 73c2dd3286 fix dig -x ip6addr. PR 18193. 2002-09-06 04:50:02 +00:00
wiz b19f6de011 ispell. 2002-09-04 00:09:23 +00:00
dbj f72f04ea8e comment out force of logical block is no larger than physical block. 2002-08-23 00:59:36 +00:00
dbj 676f520cb1 add include of errno.h 2002-08-22 22:37:10 +00:00
dbj a93a935dc2 re-enable printing of A/UX fields used by NetBSD 2002-08-22 22:36:09 +00:00
dbj 6ee55a329c on exit, check map pointer before accessing it.
this prevents core dump when map wasn't found on disk
2002-08-22 22:35:22 +00:00
wiz 44bfc91fab mdocify. Adapt contents to NetBSD. Requested by mrg. 2002-08-18 23:41:38 +00:00
itojun 59c47fdbd5 resolver(5) -> resolv.conf(5). PR 17691 2002-07-23 22:43:08 +00:00
itojun 5350bc28c2 fix safeputchar(). sync w/ tcpdump.org 2002-07-16 04:17:46 +00:00
wiz 7b9b4ac6f7 'environment', not 'enviroment' 2002-07-11 10:53:19 +00:00
wiz 4b20971f01 Spell acquire with a 'c'. 2002-07-10 23:16:32 +00:00
jdolecek 580acd6b37 Fix bug introduced in previous rev 1.5 - the for() body in decode_bitstring()
needs to be wrapped with curly braces.
Pointed out by Greg A. Woods in bin/17525.
2002-07-10 19:30:14 +00:00
wiz 4a2012a1cc Comment out $Log$, and remove one entry added during the import. 2002-07-09 14:08:38 +00:00
dbj a1246c73e0 import pdisk utility from Eryk Vershen:
http://cantaforda.com/cfcl/eryk/linux/pdisk/index.html
this is the utility provided by mklinux and osX to manipulate
the Apple Partition map.
2002-07-09 05:49:02 +00:00
itojun 44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
itojun b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
christos 66d91e6892 Fix ipmon problems on sparc64 [Tomi Nylund]
1. localtime() expects a time_t, not a pointer to unsigned long.
	2. adapt to the kernel use of struct timeval.
2002-07-01 13:56:53 +00:00
itojun 7b2c9d8551 be consistent with libc getaddr/nameinfo. 2002-06-28 06:40:51 +00:00
itojun 9421d2b57a patch from pkgsrc - initialize *res to NULL 2002-06-28 06:21:29 +00:00
itojun 2adbce1610 kill one more use of tandem variable. 2002-06-28 06:20:55 +00:00
itojun 2200386ee7 sync with 8.3.3. 2002-06-28 06:11:47 +00:00