ops! this will cause problems for omf back-end. (fixed manually on PLE).
[plcapi.git] / omf / omf_slicemgr.py
index 917c325..0285e8b 100644 (file)
@@ -129,7 +129,7 @@ class PubSubClient(BaseClient):
     def __iq(self, t="get"):
         iq = domish.Element((None, "iq"))
         iq['from'] = self.id.full()
-        iq['to'] = "pubsub.vplc27.inria.fr"
+        iq['to'] = "pubsub.%s" % self.id.host
         iq['type'] = t
         iq.addUniqueId()
         return iq