projects
/
platform
/
core
/
connectivity
/
net-config.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f390e
)
Print IFFLAGS before interface up/down
47/235047/3
accepted/tizen_5.5_unified
accepted/tizen_5.5_unified_wearable_hotfix
tizen_5.5
tizen_5.5_wearable_hotfix
accepted/tizen/5.5/unified/20200602.155340
accepted/tizen/5.5/unified/wearable/hotfix/20201027.114946
submit/tizen_5.5/20200602.082318
submit/tizen_5.5_wearable_hotfix/20201026.184303
author
Cheoleun Moon
<chleun.moon@samsung.com>
Tue, 2 Jun 2020 02:19:46 +0000
(11:19 +0900)
committer
Cheoleun Moon
<chleun.moon@samsung.com>
Tue, 2 Jun 2020 06:38:03 +0000
(15:38 +0900)
Change-Id: I008a96e2603d3aff4c4546b1434a37b0967f53de
Signed-off-by: Cheoleun Moon <chleun.moon@samsung.com>
src/utils/util.c
patch
|
blob
|
history
diff --git
a/src/utils/util.c
b/src/utils/util.c
index 1f631b408788d5dc1cb8dd287b83314950ce54ec..8e9b880526772186f9a694519f1873099e813c71 100755
(executable)
--- a/
src/utils/util.c
+++ b/
src/utils/util.c
@@
-380,6
+380,7
@@
gboolean netconfig_interface_up(const char *ifname)
return FALSE;
}
+ DBG("IFFLAGS: %x", ifr.ifr_flags);
ifr.ifr_flags |= (IFF_UP | IFF_DYNAMIC);
if (ioctl(fd, SIOCSIFFLAGS, &ifr) < 0) {
ERR("Fail to set IFFLAGS %d", errno);
@@
-413,6
+414,7
@@
gboolean netconfig_interface_down(const char *ifname)
return FALSE;
}
+ DBG("IFFLAGS: %x", ifr.ifr_flags);
ifr.ifr_flags = (ifr.ifr_flags & ~IFF_UP) | IFF_DYNAMIC;
if (ioctl(fd, SIOCSIFFLAGS, &ifr) < 0) {
ERR("Fail to set IFFLAGS %d", errno);