Harald Welte has submitted this change and it was merged.

Change subject: in46a_to_sas(): Return AF_INET6 in case of IPv6 address
......................................................................


in46a_to_sas(): Return AF_INET6 in case of IPv6 address

Change-Id: Ia2f9ac60f08823d5f7c1a76c0b7cbd65ac615e26
---
M lib/in46_addr.c
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/lib/in46_addr.c b/lib/in46_addr.c
index 068499c..32e0f8d 100644
--- a/lib/in46_addr.c
+++ b/lib/in46_addr.c
@@ -49,7 +49,7 @@
                sin->sin_addr = in->v4;
                break;
        case 16:
-               sin6->sin6_family = AF_INET;
+               sin6->sin6_family = AF_INET6;
                sin6->sin6_addr = in->v6;
                break;
        default:

-- 
To view, visit https://gerrit.osmocom.org/4249
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia2f9ac60f08823d5f7c1a76c0b7cbd65ac615e26
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <[email protected]>
Gerrit-Reviewer: Harald Welte <[email protected]>
Gerrit-Reviewer: Jenkins Builder

Reply via email to