diff options
Diffstat (limited to 'etc/allocate-address.fln')
-rw-r--r-- | etc/allocate-address.fln | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/etc/allocate-address.fln b/etc/allocate-address.fln index 89b0e38..da9301f 100644 --- a/etc/allocate-address.fln +++ b/etc/allocate-address.fln @@ -14,6 +14,11 @@ You should have received a copy of the GNU General Public License along with Eclat. If not, see <http://www.gnu.org/licenses/>. */ -if (.AllocateAddressResponse.publicIp) { - print(last,"\n"); +if (.AllocateAddressResponse) { + let ip = last; + print(ip.publicIp); + if (ip.allocationId) { + print("\t", ip.allocationId); + } + print("\n"); } |