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/.
pespin gerrit-no-reply at lists.osmocom.orgpespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ggsn/+/17811 ) Change subject: netdev_addaddr6: Use prefixlen arg ...................................................................... netdev_addaddr6: Use prefixlen arg The parameter was simply unused until this change was made. An Ipv6 can have a prefix length between 48 and 64 bits. Change-Id: I4b1512d5a4d7bbc2516221ea6808565eac0eb18f --- M lib/netdev.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/11/17811/1 diff --git a/lib/netdev.c b/lib/netdev.c index 0011588..19c5c62 100644 --- a/lib/netdev.c +++ b/lib/netdev.c @@ -433,7 +433,7 @@ req.n.nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE; req.n.nlmsg_type = RTM_NEWADDR; req.i.ifa_family = AF_INET6; - req.i.ifa_prefixlen = 64; /* 64 FOR IPv6 */ + req.i.ifa_prefixlen = prefixlen; /* 64 FOR IPv6 */ req.i.ifa_flags = 0; req.i.ifa_scope = RT_SCOPE_HOST; /* TODO or 0 */ req.i.ifa_index = if_nametoindex(devname); -- To view, visit https://gerrit.osmocom.org/c/osmo-ggsn/+/17811 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ggsn Gerrit-Branch: master Gerrit-Change-Id: I4b1512d5a4d7bbc2516221ea6808565eac0eb18f Gerrit-Change-Number: 17811 Gerrit-PatchSet: 1 Gerrit-Owner: pespin <pespin at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200414/f3ad3a95/attachment.htm>