When I wrote the ext script, it was one of those "there will never be more than one ip on this box so returning as an array of 1 will cause no harm" deals. Yeah, that didn't work out as planned :).
-dan > On May 18, 2017, at 9:06 AM, Zaid Abdulla <[email protected]> wrote: > >> On Wed, 2017-05-17 at 19:36 -0800, Dan Morphis wrote: >> When we switched over to v1.1 last week, the extension script >> returned two ips, the public and private. I quickly caught the issue >> and hard coded the script to use the private ip. > > Why not always return a single IP? You can read environment variables > from your extension script if that's how you want to distinguish > between development and production environments. > > -- > Zaid Abdulla <[email protected]> > _______________________________________________ > Users mailing list > [email protected] > http://lists.genieacs.com/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://lists.genieacs.com/mailman/listinfo/users
