- **status**: review --> fixed
- **Comment**:
changeset: 7804:51007c69ef63
parent: 7801:544c3f0c4b97
user: Gary Lee <[email protected]>
date: Fri Jul 15 17:40:14 2016 +1000
summary: libs/core: add support for long DN in sanamet encode & decode
functions [#1674]
---
** [tickets:#1674] leap: add support for encode & decode of long DN**
**Status:** fixed
**Milestone:** 5.1.FC
**Created:** Mon Feb 01, 2016 09:27 AM UTC by Gary Lee
**Last Updated:** Thu Jun 23, 2016 05:16 AM UTC
**Owner:** Gary Lee
Currently, ncs_edp_sanamet encodes a string by storing the length in 2 bytes,
followed by a fixed array of SA_MAX_NAME_LENGTH characters. This function,
osaf_decode_sanamet() and osaf_encode_sanamet() need to be enhanced to support
long DNs.
One proposal is:
if length < SA_MAX_NAME_LENGTH, encode as present
if length >= SA_MAX_NAME_LENGTH, encode as a variable string like ncs_edp_string
On the decode side, one can tell from the length (2 bytes) which encoding
scheme is used.
This should allow compatibility with older releases.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets