Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: extracting flow values from the rune array #731

Merged
merged 2 commits into from Dec 9, 2023

Conversation

tanxiao1990
Copy link
Contributor

feat: extracting flow values from the rune array

例如某些老机器,如老的深信服AC
获取sfSysTotalMemory 总内存:OID 1.3.6.1.4.1.35047.1.9 会返回 7993.8 MB

增加函数 asciitobytes 将从此字符串中提取数值并转换为字节数
55 57 57 51 46 56 32 77 66 may be the ascii rune arr for string -> 7993.8 MB

@tanxiao1990 tanxiao1990 marked this pull request as draft December 8, 2023 15:25
@tanxiao1990 tanxiao1990 marked this pull request as ready for review December 8, 2023 15:31
@kongfei605
Copy link
Collaborator

Thank you @tanxiao1990

@kongfei605 kongfei605 merged commit 631d4cd into flashcatcloud:main Dec 9, 2023
@tanxiao1990 tanxiao1990 deleted the snmp-pr branch December 9, 2023 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants