]>
Commit | Line | Data |
---|---|---|
f92713d3 SS |
1 | diff -up cups-1.4.3/backend/snmp.c.ricoh-deviceid-oid cups-1.4.3/backend/snmp.c |
2 | --- cups-1.4.3/backend/snmp.c.ricoh-deviceid-oid 2010-05-11 17:30:57.266120467 +0100 | |
3 | +++ cups-1.4.3/backend/snmp.c 2010-05-11 17:31:16.267120141 +0100 | |
4 | @@ -195,6 +195,7 @@ static const int LexmarkProductOID[] = { | |
5 | static const int LexmarkProductOID2[] = { 1,3,6,1,4,1,674,10898,100,2,1,2,1,2,1,-1 }; | |
6 | static const int LexmarkDeviceIdOID[] = { 1,3,6,1,4,1,641,2,1,2,1,3,1,-1 }; | |
7 | static const int HPDeviceIdOID[] = { 1,3,6,1,4,1,11,2,3,9,1,1,7,0,-1 }; | |
8 | +static const int RicohDeviceIdOID[] = { 1,3,6,1,4,1,367,3,2,1,1,1,11,0,-1 }; | |
9 | static const int XeroxProductOID[] = { 1,3,6,1,4,1,128,2,1,3,1,2,0,-1 }; | |
10 | static cups_array_t *DeviceURIs = NULL; | |
11 | static int HostNameLookups = 0; | |
12 | @@ -1002,6 +1003,9 @@ read_snmp_response(int fd) /* I - SNMP | |
13 | packet.community, CUPS_ASN1_GET_REQUEST, | |
14 | DEVICE_ID, LexmarkDeviceIdOID); | |
15 | _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, | |
16 | + packet.community, CUPS_ASN1_GET_REQUEST, | |
17 | + DEVICE_ID, RicohDeviceIdOID); | |
18 | + _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, | |
19 | packet.community, CUPS_ASN1_GET_REQUEST, | |
20 | DEVICE_PRODUCT, XeroxProductOID); | |
21 | _cupsSNMPWrite(fd, &(packet.address), CUPS_SNMP_VERSION_1, |