dhcp-4.2.0-P2-omapi.patch 661 B

12345678910111213
  1. diff -up dhcp-4.2.0-P2/omapip/protocol.c.omapi dhcp-4.2.0-P2/omapip/protocol.c
  2. --- dhcp-4.2.0-P2/omapip/protocol.c.omapi 2009-11-20 02:49:02.000000000 +0100
  3. +++ dhcp-4.2.0-P2/omapip/protocol.c 2011-01-03 16:30:25.000000000 +0100
  4. @@ -386,7 +386,7 @@ isc_result_t omapi_protocol_signal_handl
  5. /* Should only receive these when opening the initial authenticator. */
  6. if (!strcmp (name, "status")) {
  7. status = va_arg (ap, isc_result_t);
  8. - if (status != ISC_R_SUCCESS) {
  9. + if ((status != ISC_R_SUCCESS) && (status >= ISC_RESULTCLASS_DHCP)) {
  10. omapi_signal_in (h -> inner, "status", status,
  11. (omapi_object_t *)0);
  12. omapi_disconnect (p -> outer, 1);