projects
/
project
/
udebug.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8442c94
)
ucode: add const entries for enum udebug_format
author
Felix Fietkau
<
[email protected]
>
Wed, 23 Jul 2025 08:51:43 +0000
(10:51 +0200)
committer
Felix Fietkau
<
[email protected]
>
Wed, 23 Jul 2025 08:51:43 +0000
(10:51 +0200)
Signed-off-by: Felix Fietkau <
[email protected]
>
lib-ucode.c
patch
|
blob
|
history
diff --git
a/lib-ucode.c
b/lib-ucode.c
index b6e258d855b2c60d1a000873c3e5ede7d6dcbb40..49e60fafab3a2361a5d83430892934e79b5fa3d5 100644
(file)
--- a/
lib-ucode.c
+++ b/
lib-ucode.c
@@
-707,6
+707,9
@@
void uc_module_init(uc_vm_t *vm, uc_value_t *scope)
#define ADD_CONST(name) \
ucv_object_add(scope, #name, ucv_int64_new(UDEBUG_##name))
+ ADD_CONST(FORMAT_PACKET);
+ ADD_CONST(FORMAT_STRING);
+ ADD_CONST(FORMAT_BLOBMSG);
ADD_CONST(DLT_ETHERNET);
ADD_CONST(DLT_PPP);
ADD_CONST(DLT_IEEE_802_11);