~ubuntu-branches/ubuntu/precise/net-snmp/precise

« back to all changes in this revision

Viewing changes to include/net-snmp/system/solaris.h

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2009-11-26 01:27:00 UTC
  • mfrom: (1.1.9 sid)
  • Revision ID: james.westby@ubuntu.com-20091126012700-pox7w0a5j2x305h9
Tags: 5.4.2.1~dfsg-3ubuntu1
* Merge from debian testing.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.
    (LP: #426813).
 * Dropped patches:
   - debian/patches/101-fix-ipalias.patch: Applied upstream.
   - debian/patches/99-fix-net-snmp-syslog.patch: Applied upstream.
   - debian/patches/99-fix-perl-counter-in-subagent.patch: Applied upstream.
   - ebian/patches/103-fix-ubuntu-lmsensors.patch: No longer needed.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
 
24
24
#define UDP_ADDRESSES_IN_HOST_ORDER 1
25
25
#define UDP_PORTS_IN_HOST_ORDER 1
 
26
#define TCP_PORTS_IN_HOST_ORDER 1
26
27
 
27
28
/* get some required prototypes (strtok_r) from include files */
28
29
#define __EXTENSIONS__
38
39
 
39
40
/* Solaris 7+ */
40
41
#define NETSNMP_DONT_USE_NLIST 1
 
42
 
 
43
/*
 
44
 * NEW_MIB_COMPLIANT is a define used in Solaris 10U4+ to enable additional
 
45
 * MIB information (it affects the structs in <inet/mib2.h>)
 
46
 */
 
47
 
 
48
#define NEW_MIB_COMPLIANT