Review at  https://gerrit.osmocom.org/5401

ggsn_vty.c: Print ipv6 link-local cmd when writing config to file

Previous commit added the ipv6 link-local vty cmd but forgot to add code
to print its value in config_write_apn.

Fixes: 37c45e3998fca240b5266abd3ac883d0a35bab50

Change-Id: I08aeaa98d6dc318b7e9740d837ba4ac48cd7051c
---
M ggsn/ggsn_vty.c
1 file changed, 2 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/01/5401/1

diff --git a/ggsn/ggsn_vty.c b/ggsn/ggsn_vty.c
index db392fa..6ddfc0d 100644
--- a/ggsn/ggsn_vty.c
+++ b/ggsn/ggsn_vty.c
@@ -686,6 +686,8 @@
        }
        if (apn->v6.cfg.ifconfig_prefix.addr.len)
                vty_dump_prefix(vty, "  ipv6 ifconfig", 
&apn->v6.cfg.ifconfig_prefix);
+       if (apn->v6.cfg.ll_prefix.addr.len)
+               vty_dump_prefix(vty, "  ipv6 link-local", 
&apn->v6.cfg.ll_prefix);
 
        /* must be last */
        vty_out(vty, "  %sshutdown%s", apn->cfg.shutdown ? "" : "no ", 
VTY_NEWLINE);

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I08aeaa98d6dc318b7e9740d837ba4ac48cd7051c
Gerrit-PatchSet: 1
Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Owner: Pau Espin Pedrol <pes...@sysmocom.de>

Reply via email to