OpenNetworkLinux icon indicating copy to clipboard operation
OpenNetworkLinux copied to clipboard

[ONLP] Fix incorrect ONLP_OID_TABLE_SIZE definition in Python binding

Open brandonchuang opened this issue 1 year ago • 0 comments

Description: Run packages/base/any/onlp/src/onlp/module/python/onlp/test/OnlpApiTest.py, and segmentation fault occurs.

Root cause: The ONLP_OID_TABLE_SIZE defined in packages/base/any/onlp/src/onlp/module/inc/onlp/oids.h was changed from 32 to 128

The definition of python should also change to 128 packages/base/any/onlp/src/onlp/module/python/onlp/onlp/init.py

brandonchuang avatar Sep 02 '24 08:09 brandonchuang