Added new error code.
- Added KNOT(D)_ENODIFF, which is now being returned when no zone diff could be produced. - if new zone has lower serial than old zone, return KNOT_ERANGE - Proper comparison of serials added. Refs #1949
Showing
- src/knot/other/error.c 2 additions, 1 deletionsrc/knot/other/error.c
- src/knot/other/error.h 2 additions, 1 deletionsrc/knot/other/error.h
- src/knot/server/zones.c 4 additions, 2 deletionssrc/knot/server/zones.c
- src/libknot/util/error.h 2 additions, 1 deletionsrc/libknot/util/error.h
- src/libknot/util/libknot_error.c 1 addition, 0 deletionssrc/libknot/util/libknot_error.c
- src/libknot/zone/zone-diff.c 11 additions, 2 deletionssrc/libknot/zone/zone-diff.c
Please register or sign in to comment