diff options
author | Bill Yi <byi@google.com> | 2018-11-28 18:34:32 -0800 |
---|---|---|
committer | Bill Yi <byi@google.com> | 2018-11-28 18:34:32 -0800 |
commit | 0084ce4a05cdb2d55495beee2ab51b3949d8bff1 (patch) | |
tree | a7532e9e9c560a566d831821d6f4c1ff6c75c623 /ipacm/src/IPACM_Iface.cpp | |
parent | c55897bd5cd54e9014a8bce22324a72bd4d63873 (diff) | |
parent | 1881ba372e760e1281d01cb899132731751f7f41 (diff) | |
download | ipacfg-mgr-0084ce4a05cdb2d55495beee2ab51b3949d8bff1.tar.gz |
Merge pi-qpr1-release PQ1A.181105.017.A1 to pi-platform-releasepie-platform-release
Change-Id: I6bb0fb88cf4e244b6fb43bb18fe659e2edb44640
Diffstat (limited to 'ipacm/src/IPACM_Iface.cpp')
-rw-r--r-- | ipacm/src/IPACM_Iface.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/ipacm/src/IPACM_Iface.cpp b/ipacm/src/IPACM_Iface.cpp index e24f7d9..bee69ed 100644 --- a/ipacm/src/IPACM_Iface.cpp +++ b/ipacm/src/IPACM_Iface.cpp @@ -1,5 +1,5 @@ /* -Copyright (c) 2013, The Linux Foundation. All rights reserved. +Copyright (c) 2013-2018, The Linux Foundation. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are @@ -1026,3 +1026,10 @@ void IPACM_Iface::config_ip_type(ipa_ip_type iptype) return; } + +void IPACM_Iface::delete_iface(void) +{ + IPACMDBG_H("netdev (%s):ipa_index (%d) instance close \n", + IPACM_Iface::ipacmcfg->iface_table[ipa_if_num].iface_name, ipa_if_num); + delete this; +}
\ No newline at end of file |