summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vpp-japi/japi/vppjni.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vpp-japi/japi/vppjni.c b/vpp-japi/japi/vppjni.c
index 5747d9aa73e..6e4d6ee57c5 100644
--- a/vpp-japi/japi/vppjni.c
+++ b/vpp-japi/japi/vppjni.c
@@ -1556,7 +1556,7 @@ static void vl_api_ip_address_details_t_handler (vl_api_ip_address_details_t * m
if (!jm->is_ipv6) {
ipv4_address_t *address = 0;
vec_add2(jm->ipv4_addresses, address, 1);
- address->ip = *(u32*)mp->ip;
+ memcpy(&address->ip, mp->ip, 4);
address->prefix_length = mp->prefix_length;
} else {
ipv6_address_t *address = 0;
09'>rls1609 Integration testsGrokmirror user
aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/DUTSetup.py
blob: e5e56784d5219854cc5cc412f3b1cdb749614041 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55