summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-11 18:22:35 -0700
committerTushar Patil <tushar.vitthal.patil@gmail.com>2011-08-11 18:22:35 -0700
commit7507ba23004c989c75962c47efbd2ce5e5178a90 (patch)
tree28da9671d403d70a7f59e1ca21c079b9b8d17d10 /nova/api
parentca7bf95e610bdc47f01b8fb7b459269bb8e5df66 (diff)
added userdata entry in the api paste ini
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/userdatarequesthandler.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/api/openstack/userdatarequesthandler.py b/nova/api/openstack/userdatarequesthandler.py
index 5daa37e95..f0205419b 100644
--- a/nova/api/openstack/userdatarequesthandler.py
+++ b/nova/api/openstack/userdatarequesthandler.py
@@ -96,7 +96,7 @@ class UserdataRequestHandler(wsgi.Application):
@webob.dec.wsgify(RequestClass=wsgi.Request)
def __call__(self, req):
- remote_address = "10.0.1.6"#req.remote_addr
+ remote_address = req.remote_addr
if FLAGS.use_forwarded_for:
remote_address = req.headers.get('X-Forwarded-For', remote_address)