Change in libosmocore[master]: macaddr: fix osmo_get_macaddr(): return -1 if no device is found

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

fixeria gerrit-no-reply at lists.osmocom.org
Wed Aug 26 18:11:33 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/19840 )


Change subject: macaddr: fix osmo_get_macaddr(): return -1 if no device is found
......................................................................

macaddr: fix osmo_get_macaddr(): return -1 if no device is found

Change-Id: I74d33159485ec1f7f09b444621a2d1941c3dd4db
---
M src/macaddr.c
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/40/19840/1

diff --git a/src/macaddr.c b/src/macaddr.c
index de9d07a..a9138f8 100644
--- a/src/macaddr.c
+++ b/src/macaddr.c
@@ -102,7 +102,7 @@
 	}
 
 	freeifaddrs(ifaddr);
-	return 0;
+	return rc;
 }
 
 #else

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/19840
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I74d33159485ec1f7f09b444621a2d1941c3dd4db
Gerrit-Change-Number: 19840
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200826/1d416ff2/attachment.htm>


More information about the gerrit-log mailing list