@@ -205,8 +205,8 @@ class PortForward extends Model {
205205 protocol: $ this ->protocol ->value ,
206206 source: $ this ->source ->value ,
207207 source_port: $ this ->source_port ->value ,
208- destination: $ this ->destination ->value ,
209- destination_port: $ this ->destination_port ->value ,
208+ destination: $ this ->target ->value ,
209+ destination_port: $ this ->local_port ->value ,
210210 descr: "Associated rule for port forward rule {$ this ->associated_rule_id ->value }" ,
211211 client: $ this ->client ,
212212 );
@@ -246,8 +246,8 @@ class PortForward extends Model {
246246 protocol: $ this ->protocol ->value ,
247247 source: $ this ->source ->value ,
248248 source_port: $ this ->source_port ->value ,
249- destination: $ this ->destination ->value ,
250- destination_port: $ this ->destination_port ->value ,
249+ destination: $ this ->target ->value ,
250+ destination_port: $ this ->local_port ->value ,
251251 );
252252
253253 # Format any errors that occur during the update of the rule so its clear that its associated with the linked rule
0 commit comments